# Required SMS MFA Enrollment (Twilio) using Phone Number Collected via Progressive Profiling Action/Form

**URL:** <https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [October 6, 2025, 9:46pm UTC](https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866 "2025-10-06T21:46:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seangolob](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/seangolob/32/25479_2.png) [@seangolob](https://community.auth0.com/u/seangolob)\
**Post date:** [October 6, 2025, 9:46pm UTC](https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866/1 "2025-10-06T21:46:37Z")

</div>

Hi Auth0 community,

I’m implementing a required Multi-Factor Authentication (MFA) step using SMS to verify users immediately after sign-up. We want this to be a core part of our onboarding to ensure real user identity verification before platform entry.

We currently use a **Progressive Profiling Action + Forms** flow to collect crucial data _before_ the user’s first full login:

1. User’s phone number (stored in `user_metadata.phone.number` as E.164 string).

2. Legal consent for application updates (stored in `user_metadata.consent_terms_and_conditions`).

Our core problem is leveraging this pre-collected phone number for the required SMS MFA enrollment. We are using **Twilio** as our SMS provider.

This is the guide I used to setup our profiling form: [https://auth0.com/docs/customize/forms/configure-progressive-profile-form](https://auth0.com/docs/customize/forms/configure-progressive-profile-form)

After the custom form is submitted and the `user_metadata` is updated, I am trying to use a **Post-Login Action** to force MFA enrollment:

I am using `api.authentication.enrollWith({ type: "phone", ... })` to trigger the standard Auth0 SMS flow.

Is there a prescribed method to bridge the phone number collected in a custom form so that Twilio/SMS MFA can seamlessly use it for required enrollment? I’d like to achieve a unified, smooth user experience without requiring the user to type their number twice.

Any guidance on the correct Action API methods or flow configuration would be greatly appreciated.

Thanks!

---

<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:** [October 8, 2025, 2:56pm UTC](https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866/3 "2025-10-08T14:56:45Z")

</div>

Hi @seangolob

Welcome back to the Auth0 Community!

I will be taking a look at the issue that you are having and will come back with an update ASAP.

Kind Regards,  
Nik

---

<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:** [October 8, 2025, 3:25pm UTC](https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866/4 "2025-10-08T15:25:47Z")

</div>

Hi again @seangolob

Regarding the SMS configuration, it can be quite hard to achieve a seamless experience for the user when using progressive profiling or if the phone number attribute is added to your database. The main issue is that Auth0 is basically configured to allow users to enroll into MFA using a different phone number than the one that is set on their account which creates the extra step of ‘_confirming_’ their newly added phone.

The simplest and closest thing that can help you achieve your desired flow would be to use the Management API in your `Progressive Profiling Form` to [create an authentication method](https://auth0.com/docs/api/management/v2/users/post-authentication-methods) for the given user, basically you would be automatically enrolling them using the phone number collected in the form and once the form flow is completed, they should be challenged directly via your action. The only issue this approach presents is that if they used the wrong phone number, the user will not be able to change it directly.

If you have any other questions, please let me know!

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:** [October 22, 2025, 3:26pm UTC](https://community.auth0.com/t/required-sms-mfa-enrollment-twilio-using-phone-number-collected-via-progressive-profiling-action-form/192866/5 "2025-10-22T15:26:17Z")

</div>

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