Custom field in event_entity table - Keycloak

Is there a way to insert a custom field in the column details_json of an event in event_entity?

I have tried to build a custom Event Listener, but that doen not seems to be inserting anything. I am trying to do this during the LOGIN event in a SAML based identity provider.

Thanks

I think you’d have to override the default EventStoreProvider in order to add something to the entity.

1 Like

Thank you so much!
I override the JpaEventStoreProvider and it works as expected.