Create SAML Login Redirect
string
required
The SAML client ID configured in your application
string
required
The URI to redirect to after successful authentication. Must be in the client’s redirectURIs list
string
Optional state parameter to maintain state between request and callback
string
required
Assertion Consumer Service URL where IdP will POST the SAML response
string
“OK” or “INVALID_CLIENT_ERROR”
string
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