Hi Dmitry,
ok thanx.
Since the listener runs as part of Keycloak I need to forward the event
in my Wildfly based REST API
which ultimately needs to know about logouts. That's quite some
infrastructure to build.
(or handle the event on the EventListenerProvider itself which is easier
but means that some
of the API logic runs on Keycloak).
Cheers,
Vagelis
On 13/12/2018 06:22, Dmitry Telegin wrote:
Hello Vagelis,
There's no "logout" equivalent for authenticators (including script), but
you can implement an EventListenerProvider [1] and listen for EventType.LOGOUT events.
[1]
https://github.com/keycloak/keycloak-quickstarts/tree/latest/event-listen...
Cheers,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info(a)acutus.pro
On Wed, 2018-12-12 at 19:32 +0200, Vagelis Savvas wrote:
> Hello,
>
> is there a way to run custom code on a user logout?
> Something like an authenticator script would be ideal,
> but if that's not possible which are the available options,if any?
>
> Cheers,
> Vagelis
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user