Create Auth Session for Activated User

NOTE: In order for the session cookie to be set properly this API needs to be redirected to from the browser. The redirect URL should use the vanity domain of the tenant that the session is associated 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.
Language
URL
Click Try It! to start a request and see the response here!