You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Fixed on main in #395, pending release. CommandLineAuth() now prints a login URL with a local callback instead of requesting the retired out-of-band redirect. Open the URL in a browser that can reach the callback port on the machine running PyDrive2. OAuth guide
Activity
Stardidi commentedon May 4, 2024
Encountered the same issue. Showing more details gives:
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
shcheklein commentedon Nov 21, 2026
Fixed on
mainin #395, pending release.CommandLineAuth()now prints a login URL with a local callback instead of requesting the retired out-of-band redirect. Open the URL in a browser that can reach the callback port on the machine running PyDrive2. OAuth guide