I’ve followed this tutorial: https://auth0.com/docs/quickstart/spa/react/05-token-renewal but have been unable to keep users logged in indefinitely. I’ve set the “Token Expiration” to 864000 (as I understand it, this is the maximum amount of time… please correct me if I’m wrong). I’m not sure how this relates to the ‘expires_at’ parameter that is set in local storage. Do I need to increase the number in this line:
let expiresAt = JSON.stringify((authResult.expiresIn * 1000) + new Date().getTime());?
Any help is greatly appreciated! Thanks!