Problem statement
We want to change the expiration lifetime of access_token , by default, it is always 10 minutes.
Solution
The lifetime of the Access Tokens can be modified.
-
Navigate to the API Settings (apiAuth0 Dashboard > Applications > APIs).
-
Update the Token Expirations (Seconds) and Token Expiration For Browser Flows (Seconds).
This page explains the process in detail: Update Access Token Lifetime
Note: The default lifetime of an Access Token is 24 hours (86,400 seconds).
Access tokens with AUTH0_DOMAIN/mfa
audience are restricted to 10 minutes expiry due to security reasons . This cannot be bypassed.