davertron / cvu-portfolio-app

Web app for CVU students to arrange Drive files by learning standards
cvu-portfolio-app.vercel.app
1 stars 2 forks source link

Drive OAuth session no longer valid #15

Closed isaackrementsov closed 3 years ago

isaackrementsov commented 3 years ago

When loading drive data with an expired OAuth token, Drive sometimes gives the error OAuth session is no longer valid without the user being automatically logged out. The logout is supposed to (and used to) happen as a result of session.error in the DriveDB.init method, but it seems some underlying behavior has changed and needs to be addressed. The user should always be logged out if their session has expired.