My task is to create a page that has a button which says “Request Token”. This link will call an API that’s supposedly asking for username and password, and then return a token.
This API is originally not used for this case, but I wonder if there’s a way to integrate this.
Since the user has already logged in at this point, are the username and password already stored somewhere? (doubt the password is stored) Can I simply call for a token somehow? What’s a good approach about it?