Hello,
I have an issue with refreshing tokens.
After logging in succesfully, the tokens works fine till the end of IdTokenExpiration duration (which I configured in identity.xml to be 60seconds).
When the duration of 60 seconds passes, I get an error in my console saying that the token has expired.
This forces me to reload the url then I get redirected to the login page, else I stay navigating between my dashboard pages without having beeing able to get anything because my token has expired.
My configuration is as follows :
start_checksession: true,
silent_renew: true,
silent_renew_url: '/silent-renew.html',
What I would like to know is, where should I place the silent-renew.html file ?
I would appreciate your help
I've always specified the full url (including protocol and hostname) for the silent_renew_url. Your silent-renew.html file should be reachable at that location.
Thank for your response.
Should it work if I place the file locally in the angular app ?
if your browser can reach it.
If you place it in /src/assets it should work fine.