GET
/
auth
/
oauth2
/
callback
OAuth2 Callback
curl --request GET \
  --url https://{deploymentHost}/auth/oauth2/callback
{
"status": 200,
"message": "",
"data": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"session": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Query Parameters

code
string
required

Authorization code from OAuth provider

state
string
required

State parameter for CSRF protection

error
string

Error parameter if OAuth failed

Response

200
application/json

OAuth authentication completed successfully

The response is of type object.