8000 Logout when user session it not found · Issue #886 · keycloak/keycloak-benchmark · GitHub
[go: up one dir, main page]

Skip to content

Logout when user session it not found #886

Open

Description

@pruivo

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

Activity

  1. self-assigned this
    on Jul 4, 2024
  2. ahus1 commented on Sep 2, 2024

    @ahus1
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0