# MFA (google authenticator) Enrollment in Universal Login

**URL:** <https://community.auth0.com/t/mfa-google-authenticator-enrollment-in-universal-login/186609>\
**Category:** Get Help\
**Tags:** mfa-prompt-new-experience, mfa\
**Created:** [May 12, 2025, 4:07pm UTC](https://community.auth0.com/t/mfa-google-authenticator-enrollment-in-universal-login/186609 "2025-05-12T16:07:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbt](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@wbt](https://community.auth0.com/u/wbt)\
**Post date:** [May 12, 2025, 4:07pm UTC](https://community.auth0.com/t/mfa-google-authenticator-enrollment-in-universal-login/186609/1 "2025-05-12T16:07:47Z")

</div>

I want to Enroll an already logged in user to MFA using Universal Login without them having to login again. In my app, I want users to be able to go to their profile page and select “enroll mfa” if they don’t have it yet.

Is this possible?

Here’s the flow I’ve tried so far:

1. When “enroll mfa” button is clicked, “enableMfa=1” gets added to user\_metadata
2. I then do a silent auth by redirecting to /authorize with prompt=none
3. A post-login action reads the user metadata, if it sees ‘enableMfa’ it would do api.authentication.challengeWith({type: ‘otp’});

I did silent auth in step 2 in the hopes that Universal Login would detect existing session and that it would just show the MFA enrollment prompt — unfortunately that was not the case.

---

<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:** [May 12, 2025, 6:37pm UTC](https://community.auth0.com/t/mfa-google-authenticator-enrollment-in-universal-login/186609/3 "2025-05-12T18:37:58Z")

</div>

Hi @wbt

Welcome to the Auth0 Community!

I would recommend to read our documentation regarding [enrolling and challenging users using OTP](https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/enroll-and-challenge-otp-authenticators), this [knowledge article](https://community.auth0.com/t/possibility-to-enroll-in-email-mfa-or-otp/139543) and this [community post](https://community.auth0.com/t/how-to-allow-user-to-enroll-mfa-any-time-inside-an-application/165517).

Let me know if there is anything you might need clarification on or if you have any other questions.

Kind Regards,  
Nik

---

<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:** [May 26, 2025, 6:38pm UTC](https://community.auth0.com/t/mfa-google-authenticator-enrollment-in-universal-login/186609/4 "2025-05-26T18:38:19Z")

</div>

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