Create Auth Session


↪️

Redirect Required

Your application will need to redirect to this endpoint instead of making a direct API call.

🏢

Tenant Vanity Domain Required

When calling this API you need to use the vanity domain of the tenant that the user belongs to.

Creates an auth session for the user and returns a response containing a redirect to the appropriate location. The response will also include the session cookie.

The redirect URL that gets returned will resolve in the following order:

  • If an OAuth 2 authorization request triggers the MFA enrollment flow, the redirect URI specified in the request is returned.
  • If the MFA enrollment flow was triggered by a workflow with a custom redirect URL configured, the custom redirect URL is returned.
  • If a client ID is passed to the request that triggers the MFA enrollment flow and a client login URL is defined, the client's login URL is returned.
  • Otherwise, the application login URL is returned.
Language
URL
Click Try It! to start a request and see the response here!