Skip to content

Initiate SAML authentication

POST
/api/v1/auth/sso/saml/init

Generate a SAML AuthnRequest and return the redirect URL for the IdP.

Authorizations

Request Body required

Request body for initiating SAML auth.

Attributes: tenant_id: The tenant initiating SSO login.

object
tenant_id
required

The tenant initiating SSO login

string

Responses

200

Successful Response

Response containing an SSO redirect URL.

Attributes: redirect_url: The URL to redirect the user to. tenant_id: The tenant for this SSO flow.

object
redirect_url
required

URL to redirect the user to

string
tenant_id
required

Tenant for this SSO flow

string

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string