Hello. I'm trying to get a notification when a team's user logs in, but so far I haven't found a reasonable way to do this.
Since logins don't seem to trigger the webhooks, what I'm doing is:
1. Wait for any webhook notification (the user did something so he must have logged in recently).
2. Once received, take the list of users and get the events from the `team/log/get_events` v1 API (I was not able to find login/logout information in v2). Save cursor for future requests.
It kinda works, but I'd like to know if there's a more appropriate way to achieve this for auditing purposes.