# Help with MFA deprecation notice

**URL:** <https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986>\
**Category:** Get Help\
**Tags:** mfa-api, mfa\
**Created:** [April 28, 2024, 10:58pm UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986 "2024-04-28T22:58:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joao.roberto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joao.roberto/32/56743_2.png) [@joao.roberto](https://community.auth0.com/u/joao.roberto)\
**Post date:** [April 28, 2024, 10:58pm UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/1 "2024-04-28T22:58:56Z")

</div>

Hi,

I’ve noticed a deprecation notice in my tenant’s logs and I don’t know exactly what’s originating or how to fix it (see below). I couldn’t find any guidelines describing how to adapt my application code to the new requirements of Auth0 MFA. Does anyone have any idea how to fix it?

Thanks!

```auto
{
  ...
  "type": "depnote",
  "description": "Allow unchallenged MFA api access: This feature is being deprecated. Please see details.feature of this log for more information.",
  "connection_id": "",
  "details": {
    "feature": {
      "requesting_unchallenged_mfa_access": true,
      "id": "unchallenged_mfa_access",
      "name": "Allow unchallenged MFA api access",
      "description": "When this feature is deprecated, users will be prompted for MFA when requesting access to the mfa-api"
    }
  }
  ...
}

```

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [April 30, 2024, 2:12pm UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/4 "2024-04-30T14:12:41Z")

</div>

Hi there @joao.roberto ,

Can you please check your `Auth0 tenant dashboard -> Settings -> Advanced -> Migrations` to see if a toggle button exists to disable the `Allow unchallenged MFA API access`?

Can you please share how you currently interfere with the mfa-api so I can suggest workarounds? Also, if possible (on a dev/stage/test tenant), can you please switch the mentioned button and go through the flow with a test user to see what would break (and at what stage)?

One known case affected by the change was when the user attepmts to manage their MFA factors with the token received by calling the /authorize endpoint with the:  
`audience: https://subdomain.auth0.com/mfa/`  
and scope: `openid profile read:authenticators enroll remove:authenticators`.

---

<div class="post-metadata">

**Author:** ![joao.roberto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joao.roberto/32/56743_2.png) [@joao.roberto](https://community.auth0.com/u/joao.roberto)\
**Post date:** [May 1, 2024, 1:46am UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/5 "2024-05-01T01:46:09Z")

</div>

Hi @marcelina.barycka,

Thanks for you reply! Yes, the toggle button actually appears in the tenant’s settings and it is enabled.

Once users log into my application, we allow them to add/remove authenticators – this is done through the MFA API, using the audience and scope you mentioned above.

So, to test what you suggested, I switched off the `Allow unchallenged MFA API access` option and watched the logs after adding and removing authenticators through my application. The deprecation noticed didn’t appear so far.

I will wait new users to log in and interact with the application to be 100% sure if that fixed the issue.

Thanks again!

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 2, 2024, 7:49am UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/6 "2024-05-02T07:49:36Z")

</div>

Hi @joao.roberto ,

Happy to hear!

Thank you for going through the MFA flow after disabling the `Allow unchallenged MFA API access` feature on your tenant!

In case of any issues your new users encounter with MFA registration, we’ll investigate further 👍

---

<div class="post-metadata">

**Author:** ![joao.roberto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joao.roberto/32/56743_2.png) [@joao.roberto](https://community.auth0.com/u/joao.roberto)\
**Post date:** [May 2, 2024, 10:16am UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/7 "2024-05-02T10:16:51Z")

</div>

Hm… Unfortunately, this didn’t work. My application requires MFA from admin users, but not from regular users. I use a Flow for that contextual login.

Turning `Allow unchallenged MFA API access` off is now requiring MFA from them all. Is it possible to by pass it in my Flow implementation having that option off?

Thanks!

UPDATE: I’ve added `api.multifactor.enable('none');` to my Flow so that regular users shouldn’t be asked about MFA, but this didn’t succeed.

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 2, 2024, 11:32am UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/8 "2024-05-02T11:32:50Z")

</div>

Hey @joao.roberto ,

Currently with this deprecation, calling the /authorize with the `audience: https://subdomain.auth0.com/mfa/` challenges unenrolled users for MFA because of no prior check of the user’s MFA enrolments state (enrolled / not enrolled).

_It is possible that the performance impact of querying the user’s enrollments affected the decision._

→ The recommendation associated was to manage MFA factors in a different way ([via M2M application calling our Management API](https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api)).

BUT 🙂 , we decided to provide our customers with a remedy on our side (by first checking the enrolment status for a user before checking the audience) so that _not_ enrolled users will _not_ be prompted for MFA even though the `audience: https://subdomain.auth0.com/mfa/` was provided with the /authorize call.

The deprecation date was scheduled for April 18 but will be extended to August.

Feel free to share thoughts / follow-up questions.

---

<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 16, 2024, 11:33am UTC](https://community.auth0.com/t/help-with-mfa-deprecation-notice/132986/10 "2024-05-16T11:33:56Z")

</div>

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