AD B2C Custom Policy - separate SignUp/SignIn flow

Nitin Ambupe 1 Reputation point
2021-03-20T03:41:21.997+00:00

Hi,
I would like to create an AD B2C custom policy to meet the following business requirements.
Business Requirement
The product sold to customers has a unique product identification number and the customer registers an email Id while buying a product from the dealer. These customer details (product identification number, registered mail Id, and other details) are then stored in the manufactures database. The smartphone application to be developed for end customers to manage/view the health status of the product requires the customer to sign up as follows -
Step 1
The application provides an interface to input "Product Identification Code" and "Registered email ID". Upon submitting these details, the system should check if the entered "Product Identification Code" and "Registered email ID" exist in the manufacturer's database.
--> I could do this by implementing a REST API and custom email verification method to generate and send OTP to registered email ID.
79726-step1.jpeg

Step 2
The customer enters the OTP received on the registered email Id for verification.
79727-step2.jpeg

Step 3
Post OTP verification, customers can sign up using a local account or social account.
79758-step3.jpeg

This step basically links customers social profile with product and create user AD B2C.

Lastly, Sign In
79759-step4.jpeg

What I could achieve till now -

Using REST API for validating "Product Identification Code" and "Registered email ID"
Sending otp to registered email Id using sendInBlue
OTP Verification
Local account creation
Now, I want to have social account (google and facebook) option as mentioned in Step-3.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,636 questions
{count} votes