Skip to main content
POST
/
sso
/
callback
/
saml
SAML Callback
curl --request POST \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/sso/callback/saml \
  --header 'Content-Type: application/json' \
  --data '
{
  "SAMLResponse": "<string>",
  "RelayState": "<string>"
}
'
{
  "sessionId": "<string>",
  "email": "<string>",
  "name": "<string>",
  "sub": "<string>",
  "groups": [
    "<string>"
  ],
  "mappedScopes": [
    "<string>"
  ],
  "principalId": "<string>",
  "developerId": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Body

application/json
SAMLResponse
string
required

Base64-encoded SAML response from the IdP

RelayState
string
required

RelayState parameter for maintaining application state

Response

SSO callback result with session and user info

sessionId
string

SSO session ID

email
string
name
string
sub
string

Subject identifier from the IdP

groups
string[]
mappedScopes
string[]
principalId
string

JIT-provisioned principal ID (if applicable)

developerId
string
expiresAt
string<date-time>