How can I check if a user has already authorized the app?


#1

Currently I am opening a popup window and then using AJAX to get the URL and then redirecting the popup to that URL. If the user is already authorized, it redirects to the callback function.

My question is, if authorized already, how can I skip that entire process? Do I have to save the token I get back? If so, is there any other way besides that?


#2

You would need to save and persist the token to avoid this step. Access tokens are long-lived and intended to be held onto by the acquiring party.