keycloak
keycloak copied to clipboard
Token-Exchange does not trigger/log user update event
Before reporting an issue
- [X] 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
token-exchange
Describe the bug
When token exchange is used with the userinfo
endpoint, user profile is being created on the first attempt to access, triggering a TOKEN-EXCHANGE event as well as a USER.REGISTER
event.
On a second attempt to access with token-exchange, a TOKEN-EXCHANGE event is triggered but there is no USER.UPDATE
triggered even when the user profile got actually updated.
Version
25.0.1
Regression
- [ ] The issue is a regression
Expected behavior
A USER.UPDATE
(even as admin
) event is expected for every profile update, regardless of the cause.
Actual behavior
No USER.UPDATE
event triggered
How to Reproduce?
Use token-exchange
with userinfo endpoint
Anything else?
No response