iterative / PyDrive2

Google Drive API Python wrapper library. Maintained fork of PyDrive.
https://docs.iterative.ai/PyDrive2
Other
581 stars 69 forks source link

Token Refresh With Unpublished App #171

Closed jneilliii closed 2 years ago

jneilliii commented 2 years ago

A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.

Does anyone know of a way to get around this with some other method of OAuth or setting? I've written two plugins for another application (OctoPrint) that implements it's own custom auth flow due to its web server not typically being publicly available.

https://github.com/jneilliii/OctoPrint-GoogleDriveFiles/blob/a15f29cb6c22a49a23e0185afe5237051c263716/octoprint_googledrivefiles/__init__.py#L280

Any help/suggestions would be greatly appreciated.

shcheklein commented 2 years ago

Closing as as stale