curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/ssoProvider \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]"
}
'{
"type": "otp",
"provider": "<string>",
"ssoAuthUrl": "<string>",
"id": "95b11417-f18f-457f-8804-68e361f9164f"
}Check if an email domain has an associated SSO provider configuration. Returns the authentication type (otp or sso) and optionally the provider name.
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/ssoProvider \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]"
}
'{
"type": "otp",
"provider": "<string>",
"ssoAuthUrl": "<string>",
"id": "95b11417-f18f-457f-8804-68e361f9164f"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Email to check for SSO provider
Email address to check for SSO provider
SSO provider check response
Authentication type for the email domain
otp, sso SSO provider name (only present when type is 'sso')
SSO authentication URL (only present when type is 'sso')
36"95b11417-f18f-457f-8804-68e361f9164f"
Was this page helpful?