Open nilotpaul opened 2 months ago
No issues in the refresh mechanism, the go oauth2 lib returns token to be valid, but the GDrive api gives an unauthorized error.
The GDrive API returns unauthorized error even before the access token becomes invalid, this might be related to the number of download attempts(not sure). For now added a force refresh endpoint which manually refreshes the session.
Sometimes the session gets invalid and refreshing doesn't work.