[keycloak-user] Notification on user add / delete

Garth garth at tunnel19.com
Mon Dec 9 06:08:28 EST 2019


Also, note that when implementing an EventListenerProvider, there is no event type specifically for a "user add", but there are a few that will be important to you, depending on your setup. E.g. we look for REGISTER and IDENTITY_PROVIDER_FIRST_LOGIN for our setup. You might have to just log the events for a while to discover what constitutes a "user add" in your case.

See: https://www.keycloak.org/docs-api/8.0/javadocs/org/keycloak/events/EventType.html

On Mon, Dec 9, 2019, at 11:49 AM, Jan Lieskovsky wrote:
> Hello Kodeeswaran,
> 
> On Mon, Dec 9, 2019 at 10:05 AM Kodeeswaran Jeyakkannu <
> kodeeswaran.j at gmail.com> wrote:
> 
> > Hi,
> >
> > Is there any possible to get notification in angular application, when a
> > new user is added / delete a user in keycloak.
> >
> 
> PTAL at the following quickstart:
> 
> https://github.com/keycloak/keycloak-quickstarts/tree/latest/event-listener-sysout
> 
> which provides an example, how events can be tracked. It is possible to
> extend this
> to track user add / delete events by implementing a custom provider.
> 
> See e.g. implementation of the:
> * EventListenerProvider
> <https://www.keycloak.org/docs-api/8.0/javadocs/org/keycloak/events/email/EmailEventListenerProvider.html>,
> or
> * JBossLoggingEventListenerProvider
> <https://www.keycloak.org/docs-api/8.0/javadocs/org/keycloak/events/log/JBossLoggingEventListenerProvider.html>
> 
> for more information, on how such a custom event listener provider could be
> implemented.
> 
> HTH
> 
> 
> 
> > Kindly share the documents for the same.
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> >
> Thank you && Regards, Jan
> --
> Jan iankko Lieskovsky / Keycloak / RH-SSO Team
> _______________________________________________
> 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