Tell whether the email domain has SSO and where to go. Only true for verified domains of an active connection
POST
/v1/sso/discover
const url = 'https://api.replifier.com/v1/sso/discover';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.replifier.com/v1/sso/discover \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string format: email
Example generated
{ "email": "hello@example.com"}Responses
Section titled “Responses”Result
Media typeapplication/json
object
sso
required
boolean
protocol
string
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" }}