I have integrated keycloak in my admin portal using keycloak.js SDK and now I want to track each user activity and log it in keyclock
Example
- If user deleted sometime I want to log event in keycloak
- If user update something I want to log event in keycloak
My website is in Next js React
tania
2
You can create a custom event and add it to the list of events in the realm settings
Ok @tania, but how keycloak will know I have fire that event, Do we have any rest endpoint for the same ?
Keycloak is not an event store for your application.
Keycloak just emits events for its own operations.
1 Like
Thank you for the response
tania
6
Someone in a conference, using keycloak, used " Axon Framework" (https://www.baeldung.com/axon-cqrs-event-sourcing). Maybe you can check this out