0
votes

Azure B2C User Flow SignUp/SignIn with Email/Number. Requirements:

SignUp with Email/Phone: while signing up when user click for registration its shows already email/phone number exist but we are looking when user have already have email then it automatically move to login flow. enter image description here

SignIn with Email/Phone: while user click on the signin if user not exist then it automatically navigate to the signup page so user dont need to manuly go for signup enter image description here

Forget Password with Email/Phone: With the Email/Phone number signin/signup flow there is missing the reset password policy to change password and there is only showing the change phone number option.we need to reset the user password There is missing the Cenel icon on the phone number signup flow. enter image description here

1

1 Answers

0
votes

I did reproduce your scenario and found that there is currently no prebuild option or system in user flow of Azure AD B2C that when user try to sign and if it has not already signup will redirect to signup page and vice versa.

Azure AD B2C offers various sign-up and sign-in options for users of your applications:

I did Configure my Azure AD B2C local accounts to allow sign-up and sign-in with using email address. There are also other ways with username, phone number, or a combination of methods.

enter image description here

For Forget Password with Email/Phone enable the self-server password under the properties of your created user flow.

enter image description here

Please follow this GIF for apply for Forget Password with email and attribute which I have set for my userflow.

I have shown the demo how my user flow is working please check this GIF as well.

I have redirected my webapp to https://vikashgaurav.com/portfolio/ after successful signing.

Reference : https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-register-applications?tabs=app-reg-ga https://docs.microsoft.com/en-us/azure/active-directory-b2c/add-sign-up-and-sign-in-policy?pivots=b2c-user-flow