Skip to content

Latest commit

 

History

History

split-email-verification-and-signup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Separate the Email Verification and User Registration into 2 separate screens

The AD B2C Sign-up requires users to verify their email first before they can create their accounts. The default Sign-up page on AD B2C clubs together the email verification controls, followed by user's First Name, Last Name and other fields. This may not be always desirable since the users cannot interact with these fields without verifying their email anyway. Ideal user experience would be to split the registration process into two separate screens, where the users only see the email verification related controls first, and not the entire set of Registration controls. When they complete the email verification, they should be taken to the next screen which asks for more user attributes (first-name, last-name, dob etc.).

Live demo

To check out the user experience of this policy, follow these steps:

  1. Run the B2C_1A_Demo_SignUp_SignIn_SplitEmailVerificationAndSignUp policy.
  2. On the sign-up or sign-in page, select Sign-up now.
  3. Provide and verify your email address, then select Continue.
  4. To complete the sign-up process, fill out the sign-up form and select Continue.

Prerequisites

How it works

This policy splits the Sign up process into 2 steps:

  • First step performs Email Verification only, skipping all other default fields related to users registration.
  • Second step (if email verification was successful) takes the users to a new screen where they can actually create their accounts.

A diagram Flow of this sample policy.

Notes

This sample policy is based on LocalAccounts starter pack. All changes are marked with Sample: comment inside the policy XML files. Make the necessary changes in the Sample action required sections.