Change Email: Wristband-Hosted UI
Wristband Identity Provider: Password Login
By default, the Action Link in the Email Change Confirmation email directs users to a Wristband-hosted Email Change Confirmation Page.
Workflow Steps:
- The user clicks on the Action Link in the Email Change Confirmation email that was sent to their inbox.
- The user is redirected to the Wristband-hosted Email Change Confirmation Page.
- The user submits their password.
- Wristband calls the Wristband Confirm New Email For Password Auth Flow API, passing along the Email Authorization Code.
- A message is displayed to the user indicating that verification succeeded.
At this point, the workflow is complete, and the user can exit the page.
Wristband Identity Provider: Magic Link Login (Passwordless)
By default, the Action Link in the Passwordless Email Change Confirmation email directs users to a Wristband-hosted Passwordless Email Change Confirmation Page.
Workflow Steps:
- The user clicks on the Action Link in the Email Change Confirmation email that was sent to their inbox.
- The user is redirected to the Wristband-hosted Email Change Confirmation Page.
- The user clicks the "Continue" button.
- Wristband calls the Wristband Confirm New Email For Passwordless Email Auth Flow API, passing along the Email Authorization Code.
- During API execution, a Passwordless Email Change Confirmation email is sent to the user's current email address.
- The user clicks on the Action Link in the Passwordless Email Change Confirmation email that was sent to their inbox.
- The user is redirected to the Wristband-hosted Passwordless Email Change Confirmation Page.
- Wristband calls the Wristband Confirm Current Email For Passwordless Email Auth Flow API, passing along the Email Authorization Code.
- A message is displayed to the user indicating that verification succeeded.
At this point, the workflow is complete, and the user can exit the page.
External Identity Provider Change Email
By default, completing authentication with the external IDP directs users to a Wristband-hosted External IDP Email Change Confirmation Page.
Workflow Steps:
- The user clicks on the Action Link in the Email Change Confirmation email that was sent to their inbox.
- The user is redirected to the Wristband-hosted Email Change Confirmation Page.
- The user clicks the "Authenticate" button, which triggers a call to the Wristband Authorize External IDP User for Change Email Endpoint.
- Wristband redirects the user to the identity provider's account login page.
- The user submits their credentials.
- The identity provider redirects the user to the Wristband External IDP Callback Endpoint (which can be found in the Identity Providers section of the Wristband dashboard for your given IDP), where Wristband creates an External IDP Authorization Code required for completing authentication.
- Wristband redirects the user to the Wristband-hosted External IDP Email Change Confirmation Page along with an External IDP Authorization Code that will be used for verification.
- Wristband calls the Wristband Confirm New Email For External IDP Auth Flow API, passing along the External IDP Authorization Code.
- A message is displayed to the user indicating that verification succeeded.
At this point, the workflow is complete, and the user can exit the page.
Updated 3 months ago