get https://{application_vanity_domain}/api/v1/user-activation/create-auth-session
Redirect RequiredYour application will need to redirect to this endpoint instead of making a direct API call.
Tenant Vanity Domain RequiredWhen calling this API you need to use the vanity domain of the tenant that the user belongs to.
Creates a new auth session for the user and returns a response containing a redirect to the configured redirect location. The response will also include the session cookie.
The redirect URL that gets returned will resolve in the following order:
- If the activation request was triggered by a Signup Workflow and a custom Signup Workflow redirect URL is configured, then that is returned.
- If the activation request was triggered as part of a New User Invitation Workflow and a custom New User Invitation Workflow redirect URL is configured, then that is returned.
- If a client ID is passed to the request that triggers the activation flow and a client login URL is defined, that URL will be returned.
- Otherwise, the application login URL is returned.