Add events to the auth login button

I want to create two separate pages: a sign-in page, and an actual dashboard for users. Currently, there is no way (as far as I can tell) to detect when a user has signed in to a resource. Essentially, I think it would be very useful to add an event to the "Auth Login" component that is triggered when the user is successfully signed in to a resource (in my case, a REST API).