Replies: 2 comments 4 replies
-
The general idea how to do auditing in Rauthy is via Events. However, currently Events are not generated every time a new token is being issued. User login information is saved into the Events are not generated on purpose right now, because a successful login is usually nothing you want to be notified about and it would spam you like crazy if you have a huge amount of users. Fails generate events though. The only thing that does not have a proper event yet is when there was a login from a new location, but this can only be created properly, if you either provide Geolocation info via headers, or if you use the internernal GeoDB with a maxmind account. Would it be sufficient for you to have failed logins and also login from new locations, or do you strictly need each login? If so, I could maybe make this configurable and opt-out of "just another normal login" events. |
Beta Was this translation helpful? Give feedback.
-
Hi Many thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am looking to use Rathy in an embedded environment and it's looking good.
I will use it by fetching a tokens via OIDC and OAuth2.0. I am testing with Authorization code flow and Client credentials flow.
This works fine and I get id_token and access_token.
One of my requirements is to produce an audit logs.
I need to be able to log
I have read the documentation around audit logging and get the output on the CLI.
But I am missing the information about which used who logged in.
It mentions that logging also goes into the database and I have viewed the database file state_machine/db/hiqlite.db but cannot find which table that contains the log.
I have also noticed there is a folder logs that contain a .wal and a .hql file. But I don't know how to read this files.
Any information to help me to view the historical logs would help me.
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions