Skip to main content
POST
/
sso
/
saml2
/
finish
Finish SAML2 SSO login
curl --request POST \
  --url https://backendapi.corbado.io/v2/sso/saml2/finish \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "samlResponse": "<string>",
  "relayState": "<string>",
  "ssoNonce": "<string>"
}
'
{
  "projectID": "<string>",
  "userID": "<string>",
  "identifier": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.

The project ID and API secret can be found in the Developer Panel.

Body

application/json
samlResponse
string
required
relayState
string
required
ssoNonce
string
required

Response

SSO finish succeeded.

projectID
string
required

ID of project

userID
string
required

ID of the user

identifier
string
required