samples icon indicating copy to clipboard operation
samples copied to clipboard

Ability for users to choose TOTP or E-mail for MFA?

Open pd-sgdev1 opened this issue 3 years ago • 4 comments
trafficstars

Hi,

I would like to give users ability to choose TOTP (e.g. Authenticator app) or E-mail as the second authentication factor.

Thank you

pd-sgdev1 avatar Feb 07 '22 05:02 pd-sgdev1

This sample demonstrates how to present more than 1 factor on the same page. https://github.com/azure-ad-b2c/samples/tree/master/policies/pwd-reset-via-email-or-phone

You can use this concept to have email, mfa & totp on the same page.

Here is live sample for Email/MFA/TOTP

And XML: TrustFrameworkExtensions_pwd-reset-email-or-phone.xml.txt

JasSuri avatar Feb 07 '22 11:02 JasSuri

Thanks for that.

As for the XML attached in the previous message, there are missing technical profiles and possibly claim type definitions. Are these defined in a separate TrustFrameworkExtensions_xxx policy file?

pd-sgdev1 avatar Feb 10 '22 09:02 pd-sgdev1

bump

nexaddo avatar May 03 '23 19:05 nexaddo

The sample should connect directly to the AAD B2C starter pack.

JasSuri avatar May 16 '23 15:05 JasSuri