This is a follow up of JWT expiration 2 hours regardless of ID Token Expiration setting
As I understand, the access token has a 2 hour expiration, while the ID token lasts much longer.
Once the access token expires, how can I renew it?
Can I renew it using the method webAuth.checkSession , or do I have to call webAuth.authorize() ? (https://auth0.com/docs/libraries/auth0js/v9)
Currently, I have a silent auth flow, and if the parseHash comes back with an error of login_required , I am calling webAuth.authorize() again without prompt: "none" . I am wondering, in the case of this error, that I should try doing webAuth.checkSession to renew the access token?