[keycloak-user] Retrieve number of times users have logged in?

Stian Thorgersen sthorger at redhat.com
Wed Dec 14 04:55:35 EST 2016


If you enable login events you can use the admin rest endpoints to retrieve
all login events for a particular user. Beyond that you'd have to either
create a custom rest provider that provides the data as you want or query
the db directly (the events table is pretty simple).

On 14 December 2016 at 09:35, Edgar Vonk - Info.nl <Edgar at info.nl> wrote:

> hi,
>
> It is possible somehow to get the stats about the number of times users
> have logged into/authenticated from Keycloak somehow? Maybe from the
> database? Or is this information not stored?
>
> cheers
> _______________________________________________
> 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