You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
I believe we should verify if the current access_token remains valid before do an API Call. After token expiration (defaults to 60min) time I received an HTTP 401 error because the current token is invalid. I was able to workaround this by invoking GAuth.checkAuth() before calling my APIs. But I believe the right way would be usin refresh_token. Or maybe using the token_info endpoint to validate the current token before each API call.
I believe we should verify if the current
access_token
remains valid before do an API Call. After token expiration (defaults to 60min) time I received an HTTP 401 error because the current token is invalid. I was able to workaround this by invokingGAuth.checkAuth()
before calling my APIs. But I believe the right way would be usinrefresh_token
. Or maybe using thetoken_info
endpoint to validate the current token before each API call.What do you think? Maybe I just didn't get how this is being done here...
The text was updated successfully, but these errors were encountered: