davidstrauss / google-drive-recursive-ownership

Tool to recursively give away file and document ownership to another user.
MIT License
268 stars 68 forks source link

OOB authentication method deprecated #49

Closed wildintellect closed 6 months ago

wildintellect commented 6 months ago

I'm having trouble getting a valid session. The error directs me to https://developers.google.com/identity/protocols/oauth2/resources/oob-migration which indicates that the token acquisition method is likely no longer valid for desktop clients.

https://github.com/davidstrauss/google-drive-recursive-ownership/blob/bb8bc82fd72ea7ec334a9eaf38d391d2db1c14b6/transfer.py#L19

It suggests switching to a loopback redirect uri https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback

wildintellect commented 6 months ago

sorry duplicate of #42