Initiate SP SSO

Initiates the SP-initiated SSO flow. Generates an AuthnRequest and redirects the user to the external IDP. For redirect binding returns HTTP 302. For post binding returns the AuthnRequest data as JSON.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

centralized_organization_slugstringRequired

Headers

Secret-AccessstringRequired

Query parameters

idp_entity_idstringRequired
Entity ID of the target IDP
relay_statestringOptional
URL to redirect to after authentication
bindingstringOptionalDefaults to redirect

SAML binding type (redirect or post)

Response

Successful Response
messagestring
Message of the response
datetimestring
Datetime of the API in ISO Format
dataobjectOptional

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error