Keycloak: How to extend session idle time on run-time using JavaScript


Keycloak: How to extend session idle time on run-time using JavaScript



I have looked around for this issue but did not find a working solution.



I have SSO Session Idle time set to 2 minutes. However, for one of my application which is SSO enabled I want to extend the SSO session idle time periodically using Javascript from within that application.



I did try Keycloak.updateToken() API but that only updates the access token where in the SSO Session Idle time still remains 2 minutes and the session invalidates after that 2 minutes. What best can be done to restart/refresh this SSO Session Idle time before it expires?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

how to run turtle graphics in Colaboratory

Export result set on Dbeaver to CSV