Skip to content
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

Logout when user session it not found #886

Open
pruivo opened this issue Jul 4, 2024 · 1 comment
Open

Logout when user session it not found #886

pruivo opened this issue Jul 4, 2024 · 1 comment

Comments

@pruivo
Copy link
Contributor

pruivo commented Jul 4, 2024

Description

Some tests in org.keycloak.benchmark.crossdc.LoginLogoutTest are disabled for the external Infinispan feature because they delete the user session from the external Infinispan.

When the logout endpoint tries to find the user session for validation, it fails and performs no other operation.

I want to propose adding a new method in UserSessionProvider. Something like removeInexistentUserSession(Realm realm, String id, boolean offline) where it is possible to regenerate the Infinispan key and invoke the cache.remove(). The removal will be replicated across sites.

Currently, there is no way to retrieve the AuthenticatedClientSessionEntity and they will stay in the caches...

Discussion

No response

Motivation

No response

Details

No response

@pruivo pruivo self-assigned this Jul 4, 2024
@ahus1
Copy link
Contributor

ahus1 commented Sep 2, 2024

TODO: remove the test case as it isn't relevant for the new A/A setup

@ahus1 ahus1 unassigned pruivo Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants