# How to Enable Google Authenticator MFA in Auth0-Lock for React.js?

**URL:** <https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [March 11, 2025, 4:22am UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683 "2025-03-11T04:22:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hao.bui](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hao.bui/32/71335_2.png) [@hao.bui](https://community.auth0.com/u/hao.bui)\
**Post date:** [March 11, 2025, 4:22am UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683/1 "2025-03-11T04:22:48Z")

</div>

Hello everyone,

I am using `auth0-lock` in my React.js application to handle user authentication. Now, I want to enable Multi-Factor Authentication (MFA) using **Google Authenticator**. However, I couldn’t find any mention of `auth0-lock` supporting MFA in the official documentation:  
👉 [Auth0 Lock Documentation] auth0com/docs/libraries/lock

I have already enabled **Google Authenticator MFA** in my Auth0 Dashboard under **Security → Multi-factor Authentication** , but I am unsure how to integrate it with `auth0-lock` in my React app.

If anyone has experience implementing this, I would really appreciate detailed guidance or example code.

Thanks in advance! 🚀

---

<div class="post-metadata">

**Author:** ![hao.bui](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hao.bui/32/71335_2.png) [@hao.bui](https://community.auth0.com/u/hao.bui)\
**Post date:** [March 11, 2025, 4:35am UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683/2 "2025-03-11T04:35:49Z")

</div>

Currently, I use this package: `https://www.npmjs.com/package/auth0-lock/v/11.34.1#customization`

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 11, 2025, 4:11pm UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683/4 "2025-03-11T16:11:40Z")

</div>

Hi @hao.bui

Welcome to the Auth0 Community!

If you are using Auth0 Lock and you are redirecting from your React application to the Auth0 Lock, then by enabling the MFA in the dashboard, users should be automatically asked to enroll and prompted to use it whenever they log in. Please note that the redirect mode is the default for Auth0 Lock.

However, if you are using Popup mode, MFA will not be supported as mentioned in our [documentation](https://auth0.com/docs/libraries/lock/lock-authentication-modes).

If you have any other questions, feel free to leave a reply!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![hao.bui](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hao.bui/32/71335_2.png) [@hao.bui](https://community.auth0.com/u/hao.bui)\
**Post date:** [March 12, 2025, 1:06pm UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683/5 "2025-03-12T13:06:36Z")

</div>

Thanks for your response!

I just realized that I am currently using **popup mode** in Auth0 Lock, which, as you mentioned, does not support MFA. That explains why users are not being prompted for Google Authenticator verification.

Best regards,  
Hao

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 26, 2025, 1:06pm UTC](https://community.auth0.com/t/how-to-enable-google-authenticator-mfa-in-auth0-lock-for-react-js/183683/6 "2025-03-26T13:06:54Z")

</div>

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