Is it possible to get the MFA factor used to authenticate a logged in user

Hi,

Is it possible to retrieve the MFA factor used to authenticate the current session of a logged in user from Auth0?

The response from the /api/v2/users/{id}/enrollments API endpoint would be perfect but that only appears to support the first MFA factor enrolled by the user. There doesn’t appear to be visibility of any factors subsequently registered.

Cheers,

Hi @FordPrefect,

Welcome to the Auth0 Community!

Yes, this is possible. To do so, please call the Auth0 Authentication API’s /mfa/authenticators endpoint to get the list of authenticators for a user.

Please see the following documentation for more information:
https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/manage-authenticator-factors-mfa-api#list-authenticators

If you have any further questions, please feel free to reach out.

Thanks,
Rueben

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