Rainier-Athletes / backend

Backend API server
1 stars 4 forks source link

Google token refresh #165

Open TCW417 opened 5 years ago

TCW417 commented 5 years ago

Figure out how to deal with google oauth token expiration and refresh. We get and save the refresh token but haven't implement the request for refreshed authorization token.

TCW417 commented 5 years ago

This may not be an issue. However, there is something funky going on with the deployed site where, if you're off it for an extended period when you come back your name doesn't appear in the "Welcome, " menu field. But then it shows up... I had this happen this morning and while hooking up to React in the dev console my name suddenly appeared and I was still able to push a google doc to my drive. Maybe the delay has to do with automatic token refresh?