Skip to content

Tell whether the email domain has SSO and where to go. Only true for verified domains of an active connection

POST
/v1/sso/discover
curl --request POST \
--url https://api.replifier.com/v1/sso/discover \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com" }'
Media typeapplication/json
object
email
required
string format: email
<= 254 characters

Example generated

{
"email": "hello@example.com"
}

Result

Media typeapplication/json
object
sso
required
boolean
protocol
string
Allowed values: oidc saml
enforced
boolean
startUrl
string

Example

{
"protocol": "oidc"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}