Use Stack Overflow to get support from the community. Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before. Make sure that your questions or comments are tagged with [azure-ad-b2c]. If you find a bug in the sample, please raise the issue on GitHub Issues. To provide product feedback, visit the Azure Active Directory B2C Feedback page.
For scenarios where you would like users to validate their email via TOTP on all sign ins.
At Sign In, the email address authenticated with is copied into a read only attribute readOnlyEmail via an outputClaimTransformation in the SelfAsserted-LocalAccountSignin-Email technical profile.
The readOnlyEmail claim is passed as an input claim to the EmailVerifyOnSignIn self asserted technical profile to validate the email address via TOTP. This is made possible by using PartnerClaimType="Verified.Email" in the output claims section.
The user journey only calls the EmailVerifyOnSignIn self asserted technical profile if the user is not a new user. This bypassess this particular step if the user is signing up.
This sample policy is based on SocialAndLocalAccounts starter pack. All changes are marked with Sample: comment inside the policy XML files. Make the necessary changes in the Sample action required sections.