-
Notifications
You must be signed in to change notification settings - Fork 7
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
Able to revoke single sessions #46
Comments
MapDevice A - logged in (current browser) Scenario 1$logout_across_devices = true When I log out of Device A, I am logged out of Device B
Scenario 2$logout_across_devices = false When I log out of Device A, I am still logged in with Device B
Scenario 3$logout_across_devices = true When I log out of Device A I am logged out of Device B
When I revoke Device B, I am still logged in with Device A (this is currently not working correctly)
Scenario 4$logout_across_devices = false When I log out of Device A, I am still logged in with Device B
When I revoke Device B, I am still logged in with Device A
|
I looked at the docs in session-manager and there's a good point about users without CMS access.
Means that we should keep Update: It's worth clarifying that the existing behaviour of My feeling that the session-manager module shouldn't even consider Instead we should handle this 'auto log out no-admin-access users' differently |
The currently behaviour of logging out Device A after revoking Device B happens after you refresh Device B if it was revoked. This is a really odd behaviour. The logout happens via session-manager/LogOutAuthenticationhandler::logout() I think we'll need to move some more or all of the logout logic in LogOutAuthenticationhandler::logout() to somewhere a bit closer to the LoginSessionController |
I've got a PR up that changes the 'destroy all the login session on logout' functionality from testing if
|
I've split off the non-admin users scenario off to its own issues and pull-request I've created a new PR for this issue that ignores the 'non-admin users' scenario. Again, I've removed any reference to |
Closing as linked PR has been merged Doc update is being handled on the yml change issue #65 |
Overview
It is not possible to invalidate a single session with this module.
Replication steps
This is appears to be due to inheriting an underlying framework configuration default where
RememberLoginHash::$logout_across_devices
is set totrue
.Regardless of what's stored in the above setting, the session manager needs to be capable of revoking single sessions. Logging out (or revoking) one, should not invalidate the others.
ACs
Notes
Related
PRs
The text was updated successfully, but these errors were encountered: