We are currently testing the custom database on our application and are encountering issues with MFA. Some of our users already have MFA registered, and we would like to continue using the same MFA instead of asking them to set up a new one.
How can we achieve this? We have tried various methods to pass the mfa_factors field as mentioned in the documentation, but it does not seem to save any MFA-related information for our users.
Certainly! To continue using the same MFA for users who already have it registered, consider the following steps:
Custom Database (Auth): When migrating users with existing MFA OTP secrets, follow the guidance in the Auth Community.
Azure AD B2C: If using Azure AD B2C, allow multiple user-selectable MFA registration methods.
Graph API (Microsoft): For specific users, enable MFA by setting a custom attribute (e.g., ‘isMFAenabled’) to true.
Remember to adapt these steps to your specific setup. Good luck!
I hope this information may be helpful for you
Best regards
chris