Tenant Discovery: Wristband-Hosted UI
By default, the Action Link in the Tenant Discovery email directs users to a Wristband-hosted Tenant Discovery Page (for the case where a user's email address exists in 2 or more tenants).
Email Address (1 Tenant)
At a high level:
- The user clicks on the Login button either on your website or within your application.
- The user gets sent to your application's Wristband-hosted Application-level Login Page.
- The user enters their email address and clicks the submit button.
- Wristband calls the Find User Tenant API to find the Tenant-level Login URL.
- The user gets redirected to the Login Endpoint implemented by your application with the appropriate Tenant Domain.
From here, the user would be sent through the Authorization Code Flow in order to login to their tenant and gain entry to the application.
Email Address (2+ Tenants)
At a high level:
- The user clicks on the Login button either on your website or within your application.
- The user gets sent to your application's Wristband-hosted Application-level Login Page.
- The user enters their email address and clicks the submit button.
- Wristband calls the Find User Tenant API to find the Tenant-level Login URL. During API execution, a Tenant Discovery email is sent to the email address that the user provided on the Login Form.
- A message is displayed to the user to check their email inbox.
- The user clicks on the Action Link in the Tenant Discovery email that was sent to their inbox.
- The user is redirected to the Wristband-hosted Tenant Discovery Page.
- Wristband calls the Wristband Fetch Tenants API, passing along the Email Authorization Code.
- The user clicks on the Tenant Login button for the tenant they wish to be redirected to.
- The user gets redirected to the Login Endpoint implemented by your application with the appropriate Tenant Domain.
From here, the user would be sent through the Authorization Code Flow in order to login to their tenant and gain entry to the application.
Tenant Domain Name
At a high level:
- The user clicks on the Login button either on your website or within your application.
- The user gets sent to your application's Wristband-hosted Application-level Login Page.
- The user enters their tenant domain name and clicks the submit button.
- Wristband calls the Resolve Tenant Login URL API to find the Tenant-level Login URL.
- The user gets redirected to the Login Endpoint implemented by your application with the appropriate Tenant Domain.
From here, the user would be sent through the Authorization Code Flow in order to login to their tenant and gain entry to the application.
Updated 4 months ago