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 = {
clientId: 'XXXXXXXXXXXXXXXXXXXXXXX',
domain: 'XXXXXXXXXX.eu.auth0.com',
callbackUrl: 'http://localhost:8080/loginCallback',
apiUrl: 'API_IDENTIFIER'
}
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?
Thanks