[keycloak-user] lock user after being inactive for certain period

Dmitry Telegin dt at acutus.pro
Wed Jul 11 17:18:59 EDT 2018


Hi Sachin,

Sorry for late response, hope it is still important.

There's no such functionality OOTB, however, you can write a simple
Keycloak extension that would periodically check for users'
(in)activity and lock them out. Since Keycloak supports EJBs, you can
leverage EJB TimerService or the @Schedule annotation.

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 Fri, 2018-04-13 at 15:22 +0200, Sachin Rastogi wrote:
> Hi all,
> 
> We need to disable / lock user if user doesn't login into system for
> certain period (such as after 10 days or so). I couldn't find an
> option to
> enable. Please guide me.
> 
> Regards,
> SR
> _______________________________________________
> 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