Skip to main content
POST
/
auth
/
login
/
sso
Complete SSO Login
curl --request POST \
  --url https://api.dfns.io/auth/login/sso \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "<string>",
  "state": "<string>"
}'
{
  "token": "<string>"
}

Authentication

No authentication required.

Required Permissions

No authentication required.

Body

application/json
code
string
required

Authorization code obtained from the IdP

state
string
required

State forwarded by the IdP

Response

200 - application/json

Success

token
string
required