[keycloak-user] Notifying user about a login attempt

GARDAIS Ionel ionel.gardais at tech-advantage.com
Mon Oct 22 08:30:07 EDT 2018


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 at grootan.com>
À: "Ionel GARDAIS" <ionel.gardais at tech-advantage.com>
Cc: "keycloak-user" <keycloak-user at 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 at 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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: keycloak-email-login.patch
Type: text/x-patch
Size: 14409 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20181022/8de9ab9c/attachment-0001.bin 


More information about the keycloak-user mailing list