get https://{application_vanity_domain}/api/v1/user-activation/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 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. Likewise, if state was passed into the original request that triggered the activation flow, for example the signup flow, then a state
query parameter will be appended to the redirect URL with the original state value.
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 was passed to the request that triggered the activation flow and a client login URL is defined, then that will be returned.
- Otherwise, the application login URL is returned.