I am trying to do in windows without docker. In realm settings->events, my custom event is not identified by Keycloak. Could you please share the deployment process in windows.
Hello, I need to write a spi which dens updates send forgot password and update the local db with the same DB. I couldn't find any example whıch includes the password ınside the event. How could I get the updated password and update the local db. Thanks.
Can Keycloak listen form some other queue? For example I publish some message from my service and I have to handle that on Keycloak so I can perform some action.
@@djoleezcool Sure, you could just add the dependency for the queue of your choice (RabbitMQ, Kafka etc) in the normal way you'd add a maven/gradle dependency. Then create a consumer within the customized keycloak application. I hope this helps?
Guys, I try to write EventListenerProvider for catch LOGOUT events, and realized that comes events LOGIN and CODE_TO_TOKEN only. LOGOUT events don't come to overrided method onEvent(Event event). Any idea about the reason?
@@codelens2042 Hello Eric, thanks for your answer. You a right, LOGOUT event type is supported, and I try to catch logout event exactly the same as you show in gist... Let me explain what exactly I means under my issue. I recorded the video for show issue, please take a look if you will have a time: th-cam.com/video/TFdcJn-e4no/w-d-xo.html . Thank you.
This is such a clear understanding of custom keycloak SPIs. Kudos to the creator!
This is home and I always love code environs
I am trying to do in windows without docker. In realm settings->events, my custom event is not identified by Keycloak. Could you please share the deployment process in windows.
Hello, I need to write a spi which dens updates send forgot password and update the local db with the same DB. I couldn't find any example whıch includes the password ınside the event. How could I get the updated password and update the local db. Thanks.
How to add custom event listener like session-restrictor, without the UI, that is from standalone.xml or something else, so that it can be automated?
Can Keycloak listen form some other queue? For example I publish some message from my service and I have to handle that on Keycloak so I can perform some action.
Yes, it can.
Thanks for reply. But can you give me a hint please? :)
@@djoleezcool Sure, you could just add the dependency for the queue of your choice (RabbitMQ, Kafka etc) in the normal way you'd add a maven/gradle dependency. Then create a consumer within the customized keycloak application. I hope this helps?
@@codelens2042 What would be customized keycloak application?
Guys, I try to write EventListenerProvider for catch LOGOUT events, and realized that comes events LOGIN and CODE_TO_TOKEN only. LOGOUT events don't come to overrided method onEvent(Event event). Any idea about the reason?
Hello,
LOGOUT event is also available. Here's a gist I've created to illustrate this
gist.github.com/EricNjue/f555ca276c7fe60e96b941cb674421c9
@@codelens2042 Hello Eric, thanks for your answer. You a right, LOGOUT event type is supported, and I try to catch logout event exactly the same as you show in gist... Let me explain what exactly I means under my issue. I recorded the video for show issue, please take a look if you will have a time: th-cam.com/video/TFdcJn-e4no/w-d-xo.html . Thank you.