SSO Authentication
Complete SSO Authentication (IdP Callback)
Completes the SSO authentication flow after the user has authenticated with their Identity Provider.
Flow:
- User authenticates at the IdP
- IdP sends SAML assertion to Auth0
- Auth0 exchanges it for an authorization code
- This endpoint receives the code and exchanges it for user tokens
- Returns a LoginTokenX object for authenticated API use
post/v2/authn/sso/login-callback
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
codestring required
Authorization code from Auth0 after successful IdP authentication
redirect_uristring uri required
Must exactly match the URI used in the initial authentication request
state'ACCOUNT_LEVEL_SSO' | 'PARTITION_ENFORCED_SSO' | 'PARTITION_SSO' required
State token for session tracking and CSRF protection. Contains the SSO configuration scope level.
Response
Authentication successful
Changes
No recorded changes to this operation across all 1 revision of this API.