How to allow user to select MFA method during signing in to AD B2C?

Luka Gospodnetić 5 Reputation points
2023-03-17T10:03:21.0833333+00:00

We would like to allow users to select MFA method during signing in.

  1. User goes to our App
  2. App redirects the user to the AD B2C login page
  3. user authenticates using e-mail + password
  4. user selects MFA method (phone or e-mail)
  5. user types the verification code that they got from Step 4
  6. user is redirected to out app

So how would one go about doing this? Do note, we are using custom journeys.

Thank you

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,775 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Givary-MSFT 30,931 Reputation points Microsoft Employee
    2023-03-21T06:07:31.3866667+00:00

    @Luka Gospodnetić Thank you for reaching out to us, for the same requirement we have sample custom policy which will help to achieve your desired result - https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-email-or-phone

    Let me know if you have any further questions, feel free to post back.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.