Skip to content

Dynamic Client Registration invalidates the realm cache #42922

@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 using dynamic client registration, and even when looking at the Admin UI at the keys, the realm data is invalidated. This can have a performance impact when registering new clients dynamically.

Version

26.2, main

Regression

  • The issue is a regression

Expected behavior

The realm data shouldn't be invalidated.

Actual behavior

The realm data is invalidated.

How to Reproduce?

Either of the two:

  • Dynamically register a client
  • Go to the admin UI, open the tab with "Initial access tokens" in the client menu

Anything else?

I'll prepare a PR

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions