Start IdP-initiated SAML SSO.
GET
/saml/idp/init
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/saml/idp/initStarts IdP-initiated SSO for the sp EntityID. Without sp, returns an HTML Service Provider selection page. If the user is not authenticated, redirects to the configured login URL.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” sp
string
Service Provider EntityID to start IdP-initiated SSO for.
relay_state
string
Optional RelayState forwarded to the Service Provider. Limited to 80 UTF-8 bytes.
Responses
Section titled “ Responses ”Successful HTML response.
Media type text/html
string
Redirect response.
Headers
Section titled “Headers ” Location
string format: uri
Redirect target URL.
The RelayState exceeds the SAML binding size limit.
Media type application/json
object
key
additional properties
Example generated
{ "additionalProperty": "example"}