# Limiting country codes for MFA via phone/text in new Universal Login

**URL:** <https://community.auth0.com/t/limiting-country-codes-for-mfa-via-phone-text-in-new-universal-login/139687>\
**Category:** Get Help\
**Tags:** phone-factor, mfa\
**Created:** [July 25, 2024, 4:37pm UTC](https://community.auth0.com/t/limiting-country-codes-for-mfa-via-phone-text-in-new-universal-login/139687 "2024-07-25T16:37:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [July 25, 2024, 5:45pm UTC](https://community.auth0.com/t/limiting-country-codes-for-mfa-via-phone-text-in-new-universal-login/139687/3 "2024-07-25T17:45:44Z")

</div>

Hi @jennagoldman,

That’s correct. I can confirm that the New Universal Login still does not allow you to limit the country codes or configure a default country code for MFA phone enrollment. This is mentioned in [this post](https://community.auth0.com/t/can-we-limit-the-allowed-country-codes-for-sms-mfa-enrolment/115218/6).

Although you cannot limit the country codes, you can use a [send phone message action](https://auth0.com/docs/customize/actions/flows-and-triggers/send-phone-message-flow) script to restrict users from performing MFA unless they have a phone number from a valid country by checking `event.message_options.recipient` attribute for the user’s mobile phone number. (Reference: [How to Filter or Lock MFA Mobile Number Country Codes in New Universal Login](https://community.auth0.com/t/how-to-filter-or-lock-mfa-mobile-number-country-codes-in-new-universal-login/88800))

Please let me know if you have any questions.

Thanks,  
Ruebe

---

_[View the full topic](https://community.auth0.com/t/limiting-country-codes-for-mfa-via-phone-text-in-new-universal-login/139687)._
