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/EventT...
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(a)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-listen...
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/...;,
or
* JBossLoggingEventListenerProvider
<
https://www.keycloak.org/docs-api/8.0/javadocs/org/keycloak/events/log/JB...
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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user