Open asklepi0s opened 4 months ago
Encountered the same issue. Showing more details gives:
Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
And links to this page: https://developers.google.com/identity/protocols/oauth2/resources/oob-migration
It seems this entire flow has been deprecated. I'm not too familiar with the Google's OAuth, but it seems one of the alternative's is hosting a small webpage on loopback: https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback
Trying to login to the Drive using CommandLineAuth() returns:
Errore 400: redirect_uri_mismatch
However when using LocalWebserverAuth() no errors are encountered.