By: Mohamad Taheri user 25 Oct 2016 at 7:32 a.m. CDT

2 Responses
Mohamad Taheri gravatar
Hi, I need Users login and logout logs with API. I want to track my users activities(just login and logout), does Gluu has API to provide this information for me?

By Aliaksandr Samuseu staff 25 Oct 2016 at 2:10 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Mohamad. At the moment, there is no audit logs for login/logout (I've got impression that's what you need). This feature is WIP and will be added in one of nearest major releases. So the only way to achieve something like that atm is to parse `tomcat/logs/oxauth.log` for specific lines. You also could write some custom authentication script that, aside from handling user's login also would store some information in Gluu's internal LDAP (or in file on HDD) related to this login event, but not sure it's possible to do the same for logouts.

By Mohamad Taheri user 26 Oct 2016 at 12:29 a.m. CDT

Mohamad Taheri gravatar
thanks Aliaksandr.