Skip to main content
POST
/
auth
/
sso
/
complete
Complete SSO
curl --request POST \
  --url https://api.fluxer.app/v1/auth/sso/complete \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "state": "<string>"
}
'
{
  "token": "<string>",
  "user_id": "<string>",
  "redirect_to": "<string>"
}

Body

application/json
code
string
required

Authorization code from the SSO provider

state
string
required

State parameter for CSRF protection

Response

Success

token
string
required

Authentication token for the session

user_id
string
required

ID of the authenticated user

redirect_to
string
required

URL to redirect the user to after completion