Access MFA details via @auth0/auth0-react

Hi,

Is it possible using the @auth0/auth0-react libraries to access the MFA details of the user? i.e. Phone number.

I’m trying to recreate the below

I can see in the details in the portal when I click on the individual user

I understand that we won’t be able to retrieve the full phone number, but at least get some basic info?

Thanks,
Dylan

Hi @Beazo , welcome to the community!

I’m afraid the React library does not have built-in support for managing MFA factors currently, but you could carry out some development to use the Auth0 MFA API to fetch information about a user’s enrolled authenticators, and render this in a UI of your own creation for authenticated users:

https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/manage-authenticator-factors-mfa-api

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.