How to pass configuration parameters to custom event listeners?

943 views
Skip to first unread message

DP

unread,
Dec 13, 2022, 4:18:20 AM12/13/22
to Keycloak User
Hi!

I have a custom event listener which implements the EventListenerProvider interface.

In the factory interface there is the method org.keycloak.provider.ProviderFactory.init:

void init(Config.Scope config);

Currently when this method is called, the config object is empty (does not contain any key-value pairs).

How can I pass configuration parameters into my custom event listener?

Thanks in advance

Dmitrii Pisarenko

Gustavo J Gallardo

unread,
Dec 27, 2022, 12:07:02 PM12/27/22
to DP, Keycloak User
Hi Dmitrii,

HTH,

Gustavo

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/8df41256-ac00-443e-8da7-4fbb88c7ea13n%40googlegroups.com.

Dmitrii Pisarenko

unread,
Dec 29, 2022, 7:31:04 AM12/29/22
to Gustavo J Gallardo, Keycloak User

Thanks!

 

Dmitrii Pisarenko

Reply all
Reply to author
Forward
0 new messages