8000 Client sessions are not cached when loaded from the database · Issue #39785 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Client sessions are not cached when loaded from the database #39785
Closed
@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

When a user session is present in the caches, but not the client session, a request succeeds, but the client session is not added to the cache.

Version

main

Regression

  • The issue is a regression

Expected behavior

When a user session is used in an operation, both the user session and the client session should be in the cache after the operation.

Actual behavior

When neither the user session nor the client session are in the cache, both are cached after the operation.

If only the user session is in the cache, but not the client session, the client session is not in the cache after the operation.

How to Reproduce?

  • Log-in a user
  • In debug mode, clear the client cache
  • Issue a refresh of a token -> client cache is still empty

Anything else?

I'll provide a PR

< 68A5 /div>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0