-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh not possible after SSO Session Idle
timeout, even with constant refreshes
#30452
Comments
@xgp I tried to reproduce this using a test even though we already have tests that should be covering this scenario. See https://github.com/pedroigor/keycloak/tree/issue-30452. If you can review the test and help us to reproduce the problem, I appreciate it. |
Perhaps this is something related to how you are using the JS adapter ... |
@pedroigor Thanks for the work on this, and I appreciate the suggestion. I'll work on a test to reproduce, while also paying attention to the configuration and how the js adapter is being used. Stay tuned. |
Thanks for reporting this issue, but there is insufficient information or lack of steps to reproduce. Please provide additional details, otherwise this issue will be automatically closed within 14 days. |
This appears to be a problem with the specific setup, as |
Before reporting an issue
Area
core
Describe the bug
SSO Session Idle
seems to be the maximum lifespan of a session, even when refreshing every few minutes.Version
24.0.5
Regression
Expected behavior
If
SSO Session Idle
is set to 1 hours andSSO Session Max
is set to 2 hours (all others set to defaults), refreshes should be possible up to 2 hours, when there is never a period > 1 hour between refreshes.Actual behavior
The refresh after 1 hour (
SSO Session Idle
) always fails.How to Reproduce?
SSO Session Idle
to 1 hour andSSO Session Max
to 2 hours. Use all other realm/client defaults.Anything else?
Couple of observations:
lastSessionRefresh
on the user session, andlastAccess
as returned by/admin/realms/:realm/users/:user_id/sessions
never changes during the above.The text was updated successfully, but these errors were encountered: