Repository navigation
|
Using Keycloak quarkus v20.0.3. I have a custom EventListenerProvider class I'm deploying with Keycloak. (This works, the custom provider works, etc.) But I need to read in a property from a environment variable and cannot determine how to set/read the property - what the name should be. My provider-id (i think) is "admin-email-notification". KC_SPI_EVENT_LISTENER_ADMIN_EMAIL_NOTIFICATION_MYPROPERTY But I can't see any properties in my custom EventListenerProviderFactory class. Here is the code where I'm trying to capture/print the config out. ` ` |
Replies: 1 comment
|
I finally figured it out. I can't figure out where this value comes from, I searched the entire codebase for "events-listener" and didn't see that string anywhere. |
I finally figured it out.
It's KC_SPI_EVENTS_LISTENER_XXXX or spi-events-listener-xxxx.
EVENTS, not EVENT.
I can't figure out where this value comes from, I searched the entire codebase for "events-listener" and didn't see that string anywhere.