Repository navigation
Keycloak EventListener - Update Events Details in Keycloak 18 #37421
Unanswered
saurabhPatel1712
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm working with a custom EventListenerProvider in Keycloak 18 to handle LOGIN and LOGIN_ERROR events. I aim to modify the Event object details by adding a custom attribute (like orgId) and have the updated details reflected in the event processing. However, although I can see the orgId in the logs, the event details are not being updated with the custom orgId attribute value as expected.
Expectation: The custom orgId should be added to the event details, and I should see the updated details in the LOGIN event processing.
Is there something I might be missing in how the event details are updated in Keycloak?
Any suggestions on how to correctly handle this would be greatly appreciated!
All reactions