Focuses on API authentication, access scopes, and permission management.
Hi all!
Description
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!"
I have to handle each success login status and get customer information, to generate some token inside my application, and then invoke javascript from client side (to update that component). Function has to get that token (somehow) to properly invoke the function. This is the process diagram:
Problem
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.
Thanks in advance!