# MFA token expiry?

**URL:** <https://community.auth0.com/t/mfa-token-expiry/59901>\
**Category:** Get Help\
**Tags:** token, expiration, mfa\
**Created:** [March 22, 2021, 11:46pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901 "2021-03-22T23:46:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thankfulpanda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thankfulpanda/32/28325_2.png) [@thankfulpanda](https://community.auth0.com/u/thankfulpanda)\
**Post date:** [March 22, 2021, 11:46pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901/1 "2021-03-22T23:46:35Z")

</div>

Hello, community!

I’m looking at the docs to obtain a MFA token:

> To call the MFA API to manage enrollments, you first need to obtain an access token for the MFA API … If you are building a user interface to manage authentication factors, you’ll need to obtain a token you can use for the MFA API at any moment, not only during authentication.

[https://auth0.com/docs/mfa/authenticate-with-ropg-and-mfa/manage-authenticator-factors-mfa-api#universal-login](https://auth0.com/docs/mfa/authenticate-with-ropg-and-mfa/manage-authenticator-factors-mfa-api#universal-login)

I’m particularly interested in obtaining an MFA token via Universal Login.

Is there an expiration for the MFA token obtained through Universal Login? Can I store the token in my database for long-term use? What are the scenarios in which an MFA token can be invalidated?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 24, 2021, 3:22pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901/3 "2021-03-24T15:22:38Z")

</div>

Hi @thankfulpanda,

Welcome to the Community!

It looks like they should have a 10 minute expiry, according to the following post. Are you experiencing other behavior?

> [@Default /mfa/ audience's token expiration time](https://community.auth0.com/t/default-mfa-audiences-token-expiration-time/21105/3):
>
> Access tokens with AUTH0\_DOMAIN/mfa audience are restricted to 10 minutes expiry due to security reasons. This cannot be bypassed. I would use that audience only when the MFA scopes are explicitly required, and use a different or no audience otherwise.

---

<div class="post-metadata">

**Author:** ![thankfulpanda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thankfulpanda/32/28325_2.png) [@thankfulpanda](https://community.auth0.com/u/thankfulpanda)\
**Post date:** [April 2, 2021, 6:04pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901/4 "2021-04-02T18:04:23Z")

</div>

Hi @dan.woda,

Thank you for the quick response and for the info!

I eventually did not proceed in this direction, so I didn’t check the expiry in practice.

I instead ended up using the enroll/delete/get MFA enrollment APIs available in the Guardian and the User sections in the Auth0 Management API. These APIs suited my needs equally well.

[https://auth0.com/docs/api/management/v2#!/Guardian/delete\_enrollments\_by\_id](https://auth0.com/docs/api/management/v2#!/Guardian/delete_enrollments_by_id)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 2, 2021, 6:22pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901/5 "2021-04-02T18:22:27Z")

</div>

Thanks for the update. I will mark that as the solution.

---

<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:** [April 17, 2021, 6:23pm UTC](https://community.auth0.com/t/mfa-token-expiry/59901/6 "2021-04-17T18:23:00Z")

</div>

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