Skip to main content
POST
/
auth
/
login
/
sso
/
init
Initiate SSO Login
curl --request POST \
  --url https://api.dfns.io/auth/login/sso/init \
  --header 'Content-Type: application/json' \
  --data '{
  "orgId": "or-30tnh-itmjs-s235s5ontr3r23h2",
  "clientId": "<string>",
  "redirectUri": "<string>"
}'
{
  "ssoRedirectUrl": "<string>"
}

Authentication

No authentication required.

Required Permissions

No authentication required.

Body

application/json
orgId
string
required

Organization id.

Maximum length: 64
Example:

"or-30tnh-itmjs-s235s5ontr3r23h2"

clientId
string
required

Client Id obtained from the IdP

redirectUri
string<uri>
required

Redirect URI used for the authentication flow

Response

200 - application/json

Success

ssoRedirectUrl
string<uri>
required

The URL to redirect the user to authenticate with the IdP