I'm facing with problem how to detect a moment when customers are logging in with success. My application requires this kind of process, because it has to change the status of some external component like: "Ok, now you have deal with authenticated user. He's not anonymous anymore!"
Currently the most problematic is login detection. Do you have any ideas how to get this kind of information inside custom application? I noticed that there is no any kind of webhook, or ready solution to handle this.