Closed sergeknystautas closed 3 years ago
It looks like a simple solution is to create a nice log message (right now it's dumps the JSON from the oauth response), with a good prefix, then create a saved search in Papertrail, then have an email alert on that saved search that fires daily.
Pushed a commit live that cleans up the logging of successful sign ins, and created the papertrail filter and alert. Will close ticket when I get the daily email.
Got the email of my 5 successful logins so closing out.
Right now I have no idea what users have accessed this. Either send an email each time someone uses it as a super dumb/start, or ideally create a database that stores who has signed in, and when the last time they signed in, and maybe track how many times they've signed in. I guess an authentication log might be better if that's the use case.
Anyway, see who is using it.