keycloak-scim/examples/providers/event-store-mem
2014-08-29 14:55:45 +02:00
..
src/main Fixes to event-store-mem example 2014-08-29 14:55:45 +02:00
pom.xml Rename audit to events 2014-08-28 10:56:37 +02:00
README.md Fixes to event-store-mem example 2014-08-29 14:55:45 +02:00

Example Event Store that stores events in memory

To deploy copy target/event-store-mem-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then edit standalone/configuration/keycloak-server.json, change:

"eventsStore": { "provider": "jpa" }

to:

"eventsStore": { "provider": "in-mem" }

Then start (or restart)the server. Once started open the admin console, select your realm, then click on Events, followed by config. Set the toggle for Enabled to ON. After this try to logout and login again then open the Events tab again in the admin console to view events from the in-mem provider.