Signup: Self-Hosted UI

Wristband Identity Provider Signup

If you intend to self-host any of the Signup Pages and utilize Wristband APIs to facilitate the Signup Workflow, it is necessary to override the Custom Signup Page URLs in the Wristband Dashboard for your application. This ensures that Wristband directs users to the specified locations whenever your self-hosted Signup Page needs to be presented. Some examples of where Wristband references the Custom Signup Page URLs:

  • Signup Action Links at the bottom of Wristband-hosted Login Page Forms
  • External IDP Signup Workflow when displaying the External IDP Signup Form after authenticating with your external identity provider

User Activation Signup

At a high level:

  1. The user clicks on the Signup button either on your website or within your application.
  2. The user gets sent to your application's self-hosted Signup Page.
  3. The user provides all information to the Signup Form and clicks the submit button.
  4. Your application calls the Provision User API to complete the Signup for the user.
  5. An Activation Email is sent to the email address that the user provided on the Signup Form.

From here, the user would then complete the User Activation Workflow to finish activating themselves, verify their email, and gain entry into the application. It is up to your application what to display to the end user at this point of the workflow.

Custom Activation Signup Wristband IDP

Email Verification Signup

  1. The user clicks on the Signup button either on your website or within your application.
  2. The user gets sent to your application's self-hosted Signup Page.
  3. The user provides all information to the Signup Form and clicks the submit button.
  4. Your application calls the Provision User API to complete the Signup for the user. During API execution, an Email Verification email is sent to the email address that the user provided on the Signup Form. The user is also set to ACTIVE status.
  5. Your application then redirects the user to the Wristband Create Auth Session API in order 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 that is required to successfully create the session.
  6. Wristband redirects the user to the Login Endpoint implemented by your application.

From here, the user would be sent through the Authorization Code Flow in order to login 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. However, they will still need to separately complete the Email Verification Workflow in order to have their email verified.

Custom Email Verification Signup Wristband IDP

External Identity Provider Signup

At a high level:

  1. The user clicks on the Signup button either on your website or within your application.
  2. The user gets sent to your application's self-hosted Signup Page.
  3. The user clicks on a "Signup With Google" button.
  4. Your application redirects the user to Google's Authorization Endpoint where they will enter their Google login credentials.
  5. Google redirects the user back to the Wristband External IDP Callback Endpoint (exact URL is located in the Wristband Dashboard for the corresponding external identity provider).
  6. Wristband redirects the user to your application's Custom External IDP Signup Page URL (configured in the Wristband dashboard) along with an External IDP Authorization Code that will be used for creating an Authentication Session.
  7. Prior to rendering your application's self-hosted External IDP Signup Page, your application will call the Wristband Fetch External IDP Userinfo API, passing along the External IDP Authorization Code. This is necessary for syncing the external IDP userinfo into Wristband during Signup.
  8. Your application now renders the self-hosted External IDP Signup Page along with an External IDP Authorization Code that will be used for creating an Authentication Session.
  9. The user provides all information to the External IDP Signup Form and clicks the submit button.
  10. Your application calls the Provision External IDP User API, passing along the External IDP Authorization Code.
  11. Your application then redirects the user to the Wristband Create Auth Session for External IDP User API in order 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 that is required to successfully create the session.
  12. Wristband redirects the user to the Login Endpoint implemented by your application.

From here, the user would be sent through the Authorization Code Flow in order to login 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.

Unverified Emails from External Identity Providers

If the email address synchronized from the external identity provider is not verified, the user must undergo either the User Activation Workflow or the Email Verification Workflow to complete External IDP Signup, depending on the configured Signup Workflow Policy.

Custom Signup External IDP