Hi,
I have a single page application using the Keycloak Javascript adapter. Now I have various dialogs in my application where an auto-refresh is implemented, i.e. data is reloaded after 30 seconds.
This means that automatically after 5 minutes the refresh token is used to get a new access token, so as long as the user stays on this dialog the SSO Idle timeout doesn't have any effect, only SSO Max Timeout will log the user out after 10 hours.
How do you handle these cases?
- Keep it as it, i.e. user idle timeout is not used?
- Implement some magic in the client that the browser knows when the user is active or not?
Björn