keycloak/keycloak
在 GitHub 查看AdminEvents are showing ClientEntity IDs instead of Client IDs
Open
#32,113 创建于 2024年8月14日
area/corehelp wantedkind/enhancementpriority/normalteam/core-clients
仓库指标
- Star
- (34,398 star)
- PR 合并指标
- (平均合并 6天 19小时) (30 天内合并 384 个 PR)
描述
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
Logged or saved admin events show the entity ID of the client performing the action instead of the client ID. This is inconsistent with normal user events which show the client ID (see screenshot).
Version
25.0.2, nightly
Regression
- The issue is a regression
Expected behavior
Admin events show the client ID of the client performing an admin operation.
Actual behavior
Admin events show the client entity ID of the client performing an admin operation.
How to Reproduce?
- Start Keycloak logging all events to the console e.g. by supplying environment variable
KC_SPI_EVENTS_LISTENER_JBOSS_LOGGING_SUCCESS_LEVEL=INFO - Use the admin console to edit a user
- Observe the emitted log message, it will look similar to the one I attached.
Anything else?
No response