How to change the expires_in value of Access Token at Auth0's SPA SDK

Overview
1. Acquisition of token using getTokenSilently() method of auth0-spa-js and saving to memory ,
make use of these.
* https://github.com/auth0/auth0-spa-js
* https://github.com/auth0/auth0-vue
2. Match the expiration date(expires_in value) of ID Token and AccessToken
3. We want to set expires_in value at 3600 seconds
Is there a way to change the expiration date(expires_in value) of the Access Token?
Cause
The access token you obtain when you make a request to /authorize without including an audience parameter is an Opaque Token. 
Solution
If you are not granting access to an external API (no audience parameter in the request to /authorize) when implementing the login with the SDK (https://auth0.com/docs/quickstart/spa/vanillajs/interactive#add-login-to-your-application), the access token you receive is an opake access token. Opaque tokens can be used only with the /userinfo endpoint to return a user's profile, and access tokens issued strictly for this purpose have a default lifetime and can't be changed (see https://auth0.com/docs/secure/tokens/access-tokens#-userinfo-endpoint-token-lifetime).

Recommended content

No recommended content found...