Hi Team,
I am using keycloak with angular application in which i have given
Client session max = 1 hour
Problem:
User is actively using the application for 1 hour. After which user is force to confirm logout page and asked to logout when above time expires.
Is there any way we can refresh the session and prevent this to happen?
Thanks
Rohit
Your settings means this: In any circonstances, no session can last more than 1 hour. So Keycloak is doing exactly what you asked it to do.
Client session max sets the maximum duration of the session, regardless of user activity.
SSO Session Idle in the other hand, sets the maximum duration a session can be inactive before being expired. That setting may be what you are looking for.
By default, keycloak uses these settings:
Client session max = 10 hours
SSO Session Idle = 30 mns