# How to show a message before forcing OTP enrollment in Universal Login?

**URL:** <https://community.auth0.com/t/how-to-show-a-message-before-forcing-otp-enrollment-in-universal-login/186515>\
**Category:** Get Help\
**Tags:** mfa-prompt-new-experience, mfa\
**Created:** [May 9, 2025, 4:59am UTC](https://community.auth0.com/t/how-to-show-a-message-before-forcing-otp-enrollment-in-universal-login/186515 "2025-05-09T04:59:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dy.le](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dy.le/32/71458_2.png) [@dy.le](https://community.auth0.com/u/dy.le)\
**Post date:** [May 9, 2025, 4:59am UTC](https://community.auth0.com/t/how-to-show-a-message-before-forcing-otp-enrollment-in-universal-login/186515/1 "2025-05-09T04:59:46Z")

</div>

Hi everyone,

We’re in the process of enhancing our MFA flow. Currently, most of our users are already enrolled with **SMS** as their MFA method. We’re now implementing **OTP (Authenticator App)** and want to **transition all users** toward using it for better security.

**What we’re doing:**

- For **new users** , we already enforce OTP directly using `api.authentication.enrollWith({ type: 'otp' })`.
- For **existing users enrolled with SMS but not OTP** , we plan to **enforce OTP enrollment** soon after a successful SMS login.

**The challenge:**

Before enforcing OTP enrollment, we’d like to **show a message or confirmation prompt** (e.g., “We’re migrating to OTP for better security — you’ll need to enroll now”) so users **aren’t surprised** when they hit the enrollment screen.

Ideally, this would be shown:

- **Inside Universal Login** or the **MFA flow** itself
- Without relying on custom JS injection or redirecting users to our own frontend

**Is there any supported way to show this kind of notice or interstitial step before enforcing enrollment of a second factor (OTP) using Auth0’s New Universal Login?**

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [May 9, 2025, 8:52am UTC](https://community.auth0.com/t/how-to-show-a-message-before-forcing-otp-enrollment-in-universal-login/186515/3 "2025-05-09T08:52:55Z")

</div>

Hi @dy.le, and welcome to the Auth0 Community!

Unfortunately, it is not currently possible to add a custom message to the enrollment flow without redirecting the user to a custom page. If you do consider [redirecting the user](https://auth0.com/docs/customize/actions/explore-triggers/signup-and-login-triggers/login-trigger/redirect-with-actions), though, a post-login action that checks if the user has not yet been enrolled (using a flag in app\_metadata) would be the best way to do it.

I hope this helps you, and don’t hesitate to ask more if something is unclear!

Sincerely,  
Teodor.

---

<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 23, 2025, 8:53am UTC](https://community.auth0.com/t/how-to-show-a-message-before-forcing-otp-enrollment-in-universal-login/186515/4 "2025-05-23T08:53:48Z")

</div>

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