[keycloak-user] Run script on logout

Dmitry Telegin dt at acutus.pro
Wed Dec 12 23:22:33 EST 2018


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-listener-sysout

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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list