Hi Lokesh,
The following patch should do the trick.
It enables the email event listener and configures it to include the LOGIN event.
It also defines the associated email templates and messages.
--
Ionel GARDAIS
Tech'Advantage CIO - IT Team manager
----- Mail original -----
De: "Lokesh Ravichandru" <lokesh.ravichandru(a)grootan.com>
À: "Ionel GARDAIS" <ionel.gardais(a)tech-advantage.com>
Cc: "keycloak-user" <keycloak-user(a)lists.jboss.org>
Envoyé: Lundi 15 Octobre 2018 14:02:17
Objet: Re: [keycloak-user] Notifying user about a login attempt
As far my understanding, you shall extend event listener api to listen to events and
process based on it. Check the examples section for events listener implementation
- Lokesh
On 15-Oct-2018, at 5:29 PM, GARDAIS Ionel
<ionel.gardais(a)tech-advantage.com> wrote:
Hi,
Is there a way to notify user by email whenever the user is logged through a client of
the realm ?
Like "You've been logged by <Client Name> with your account
<account_id>".
Thanks,
Ionel
--
232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON
Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301<GARDAIS,
Ionel.vcf>_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user --
232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON
Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301