Azure AD B2C passwordless login with email verification

víctor arranz 0 Reputation points
2024-05-27T09:59:14.4333333+00:00

Hi, I want to create a custom policy so as to login users.

The flow I want is:

  1. The user enters email (only email, not password).
  2. The user choses in the next step if he wants to get the OTP code via phone sms or phone call.

The issue is that the user must be pre registered and I want the email that he enters in step 1 to be validated, so if the email is not from a registered user, raise and error, otherwise go to step 2.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,146 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Babafemi Bulugbe 2,755 Reputation points MVP
    2024-05-27T10:05:09.5833333+00:00

    Hello víctor arranz,

    Thank you for posting your query in the Microsoft Q&A Community.

    I understand that you would like to create an Azure AD B2C Custom policy for passwordless authentication.

    The scenario you described above is possible. Kindly follow the link to get the Sample custom policy configuration files.

    https://github.com/azure-ad-b2c/samples?tab=readme-ov-file#passwordless

    Let me know if further assistance is needed.

    Babafemi


  2. víctor arranz 0 Reputation points
    2024-05-27T11:32:25.86+00:00

    Please I need more help

    0 comments No comments