JWT expiration fixed at 3600 sec (one hour)

Hi, I used this sample project to configure auth0.js V9 on my Vue.JS SPA application. The authentication process with the new Hosted Login Page works fine. I am using the following configuration

export const AUTH_CONFIG = {
  domain: 'XXXXXXXXXX.eu.auth0.com',
  callbackUrl: 'http://localhost:8080/loginCallback',

I then go and configure the client on the manage.auth0.com dashboard. I explicitly set JWT Expiration (seconds) to one month (~2600000 seconds) which is what I want. The problem is that, no matter what I configure, the token received by auth0.js seems to have a fixed expiration date of 3600 seconds (one hour). I have also tested with 36000 seconds (10 hours), but expiration is still 1 hour.

This was not occurring to me with the old Auth0Lock V10 library which I used for other projects.

Can you please explain me (like I am five please) how to configure auth0.js V9 and/or the client configuration to get a token that don’t expires in one hour?


Hey @pepo.ospina

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

This topic was automatically closed after 6 days. New replies are no longer allowed.