Skip to main content
POST
/
v2
/
sso
/
saml2
/
start
Start SAML2 SSO login
curl --request POST \
  --url https://{projectId}.frontendapi.corbado.io/v2/sso/saml2/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>"
}
'
{
  "idpRedirectURL": "<string>"
}

Authorizations

Authorization
string
header
required

After a user logs in successfully, a session is created and a JWT token is returned. This token represents the user's authenticated session. It must be included in the Authorization header as a Bearer token for all protected endpoints:

Authorization: Bearer <your-token>

The server will validate this token to authorize access.

Body

application/json
email
string
required

Response

200 - application/json

Contains the IdP redirect URL and relay state.

idpRedirectURL
string
required