User Activation: Self-Hosted UI
If you intend to self-host the User Activation Page and utilize Wristband APIs to facilitate the User Activation Workflow, you need to override the Action Link URL for the User Activation Email Policy in the Wristband Dashboard. The URL value should point to the location of your application's self-hosted User Activation Page.
At a high level:
- The user clicks on the Action Link in the activation email that was sent to their inbox.
- The user is redirected to your application's self-hosted User Activation Page along with the Email Authorization Code query parameter.
- Your application calls the Wristband Activate User API, passing along the Email Authorization Code. The user's status is changed from
PENDING_USER_ACTIVATION
toACTIVE
, and their email is marked as verified. - Your application then redirects the user to the Wristband Create Auth Session for Activated User API to create a Wristband Authentication Session for the user. The redirect URL is returned in the response from the prior step as well as an Auth Session Code required to successfully create the session.
- Wristband redirects the user to the Login Endpoint implemented by your application.
From here, the user would go through the Authorization Code Flow to log in and gain entry to the application. Because Wristband already created an Authentication Session for the user during signup, the user gains immediate entry into the application without having to re-enter their credentials.
Updated 10 days ago