Skip to main content
POST
/
sdk
/
{environmentId}
/
ssoProvider
Check SSO provider for email domain
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Email to check for SSO provider

email
string<email>
required

Email address to check for SSO provider

Response

SSO provider check response

type
enum<string>
required

Authentication type for the email domain

Available options:
otp,
sso
provider
string

SSO provider name (only present when type is 'sso')

ssoAuthUrl
string

SSO authentication URL (only present when type is 'sso')

id
string
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"