# Ability to select the default MFA factor

**URL:** <https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965>\
**Category:** Get Help\
**Tags:** mfa-sms, mfa\
**Created:** [May 18, 2021, 2:04am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965 "2021-05-18T02:04:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexs333](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexs333/32/14581_2.png) [@alexs333](https://community.auth0.com/u/alexs333)\
**Post date:** [May 18, 2021, 2:04am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965/1 "2021-05-18T02:04:46Z")

</div>

Hi,

We have enabled MFA with 2 factors: One-time password and SMS. Based on our user base, we would like to default the users to SMS during the enrollment process (it seems like out of the box it defaults to a One-time password). Is there a way to achieve that?

Regards,  
Alex

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 18, 2021, 9:37am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965/3 "2021-05-18T09:37:36Z")

</div>

Hey there!

Not sure how to achieve that but let me research that for you and get back as soon as I have news to share!

---

<div class="post-metadata">

**Author:** ![alexs333](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexs333/32/14581_2.png) [@alexs333](https://community.auth0.com/u/alexs333)\
**Post date:** [May 19, 2021, 4:31am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965/4 "2021-05-19T04:31:03Z")

</div>

Ok, it seems like I found the way to do it. Basically, there is an option that can be passed to a widget:

```
new Auth0MFAWidget({
    defaultEnrollmentFactor: "sms"
})

```

What is a little bit inconvenient is that I couldn’t find any documentation anywhere about the options that can be used to configure the widget (with the exception of themeing). The widget isn’t open-source doesn’t help either. I had to resort to inspecting minified JavaScript bundle which isn’t great. If someone could link this ticket to relevent documentation that would be much appreciated.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 19, 2021, 11:02am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965/5 "2021-05-19T11:02:15Z")

</div>

Perfect! Glad you have figured it out. For the other question it will be better if you open a separate topic for better searchability

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 27, 2021, 11:54am UTC](https://community.auth0.com/t/ability-to-select-the-default-mfa-factor/62965/6 "2021-05-27T11:54:11Z")

</div>


