Documentation Index
Fetch the complete documentation index at: https://mintlify.com/supertokens/supertokens-core/llms.txt
Use this file to discover all available pages before exploring further.
Create SAML Login Redirect
The SAML client ID configured in your application
The URI to redirect to after successful authentication. Must be in the client’s redirectURIs list
Optional state parameter to maintain state between request and callback
Assertion Consumer Service URL where IdP will POST the SAML response
“OK” or “INVALID_CLIENT_ERROR”
The complete SSO URL to redirect the user to for authentication with the IdP. This URL includes the encoded SAML authentication request and relay state
Usage
After receiving thessoRedirectURI, redirect the user’s browser to this URL. The user will authenticate with the Identity Provider and be redirected back to your application’s callback endpoint.
Example