Start SAML sign-in at the configured IdP
GET /api/auth/sso/saml/initiate
Looks up the enabled SAML configuration for tenant_id, stores an opaque RelayState for ten minutes and redirects to the configured IdP SSO URL with that RelayState. The handler does not add a SAMLRequest parameter. The unauthenticated route is limited to 20 requests per minute per IP.
This operation needs no authentication.
Parameters
tenant_idinteger query requiredRange: at least 1
Responses
302 Redirect to the configured IdP SSO URL.
422 Tenant or SAML configuration is invalid.
application/json object
errorstring required
429 Route rate limit exceeded.
Response headers
Retry-Afterstring headerX-RateLimit-Scopestring header
application/json object
errorobject requiredcodestring requiredValue:"too_many_attempts"scopestring requiredValue:"route"messagestring requiredretry_after_sinteger requiredRange: at least 1
text/html string
503 SAML state could not be stored.
application/json object
errorstring requiredValue:"saml_state_unavailable"