Extend or Remove Expiration Time from Management API Access Token

Overview

This article explains whether it is possible to extend or remove the expiration time from the Management API Access Token obtained from the API Explorer.

Applies To

  • API Explorer
  • Auth0 Management API

Solution

The Token Expiration time can be increased. For example, to set the Token Expiration time to 10 days, go to the Auth0 dashboard under Applications > APIs > Auth0 Management API and select the API Explorer. Set it to ‘84000’ and click save.


However, please keep in mind that:

  • These tokens cannot be revoked, so long expiration times are not recommended.
  • This method for obtaining Access Tokens is only for test purposes. Do not manually obtain long-lived tokens and use them in your applications because doing so nullifies the security advantages that tokens offer.

Note: For the above reasons, it is not recommended that the Management API Access Token Expiration be removed. Use short expiration times and issue a new one every time it is needed.

Related Resources