Is it possible to extent session when user is active?

I’m wondering if there is an API in Keycloak that can be called to extend a user’s session. For example, if a user has been working for an hour but the session timeout is set to 20 minutes in Keycloak, I want to keep the user’s session active since they are still using it.

Thanks,
Swati Gupta

Assuming you have “SSO session max” set to longer than you want to extend the session for, just doing a refresh should be sufficient.

2 Likes