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

Edgar Vonk - Info.nl Edgar at info.nl
Wed Dec 14 10:34:11 EST 2016


Ah yes, forgot about those.. Thanks Stian!


On 14 Dec 2016, at 10:55, Stian Thorgersen <sthorger at redhat.com<mailto:sthorger at redhat.com>> wrote:

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<http://Info.nl> <Edgar at info.nl<mailto: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<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list