prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.19k forks source link

Sign-in fails with Error 400: invalid_request, OOB flow deprecated #663

Open mjpieters opened 1 year ago

mjpieters commented 1 year ago

You can no longer use gdrive about to sign in; you get a 400 error instead when you try to use the link.

The error message includes details for the developer:

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

Related developer documentation

The linked developer information page indeed indicates that as of October 3 2022, the OOB flow has been disabled for clients created before February 28, 2022.

phanchanra commented 1 year ago

I have the same error

tim-g-provectusalgae commented 1 year ago

:cry:

premchedella commented 1 year ago

when I use gdrive about, it gave me a link and when I pasted that link in the browser, I am getting the following error.

Access blocked: project-367116221053’s request is invalid
xxxx@gmail.com
You can’t sign in because project-367116221053 sent an invalid request. You can try again later, or contact the [developer](https://accounts.google.com/) about this issue. [Learn more about this error](https://support.google.com/accounts/answer/12379384)
If you are a developer of project-367116221053, see [error details](https://accounts.google.com/).
Error 400: invalid_request

Let me know how to resolve this error.

LastPlayerTR commented 1 year ago

I have the same issue.

justachetan commented 1 year ago

Facing the same issue

ivanbrykov commented 1 year ago

Same for me

arduilex commented 1 year ago

same....:

kirk86 commented 1 year ago

Same issue here image

cdw1p commented 1 year ago

Same issue

saisurbehera commented 1 year ago

Same

Snitkovski commented 1 year ago

I am so sad! 8-/

javadr commented 1 year ago

Same issue.

Kosechok commented 1 year ago

Same :(

jvgrootveld commented 1 year ago

Same! Is this going to be fixed soon?

brosig commented 1 year ago

Considering the last release was in May of 2021, i'll find another solution, maybe rclone...

neclepsio commented 1 year ago

Please, is there any chance this will be fixed?

BugCode1 commented 1 year ago

i find a way for fix this and get a build, this work for now: #665

https://github.com/BugCode1/gdrive/releases/tag/2.1.2

cdw1p commented 1 year ago

i find a way for fix this and get a build, this work for now: #665

https://github.com/BugCode1/gdrive/releases/tag/2.1.2

working perfectly

wget https://github.com/BugCode1/gdrive/releases/download/2.1.2/gdrive_2.1.2_linux_arm64.tar.gz tar xvf gdrive_2.1.2_linux_arm64.tar.gz mv gdrive /usr/local/bin/

then run : gdrive list and follow the instructions

maiiabocharova commented 1 year ago

gdrive_2.1.2_linux_arm64.tar.gz

It does not seem to be working for Mac M1... Are there some solutions to install for Mac M1?

BugCode1 commented 1 year ago

gdrive_2.1.2_linux_arm64.tar.gz

It does not seem to be working for Mac M1... Are there some solutions to install for Mac M1?

https://github.com/BugCode1/gdrive/releases/download/2.1.2/gdrive_2.1.2_darwin_amd64.tar.gz

use this version for mac, updated and all versions add now

lucascheles commented 1 year ago

I had the same problem on ubuntu 22. This other approach worked for me: https://medium.com/@acpanjan/download-google-drive-files-using-wget-3c2c025a8b99

maiiabocharova commented 1 year ago

tar xvf

Thank you so much!!!! works perfectly!

rekucemong commented 1 year ago

hope this can help. https://www.youtube.com/watch?v=a-zI2tN7kaE

mvilain commented 1 year ago

The youtube video above has been removed. Also, is there a arm version of the 2.1.2 release?

ASHISHTOM commented 1 year ago

i find a way for fix this and get a build, this work for now: #665 https://github.com/BugCode1/gdrive/releases/tag/2.1.2

working perfectly

wget https://github.com/BugCode1/gdrive/releases/download/2.1.2/gdrive_2.1.2_linux_arm64.tar.gz tar xvf gdrive_2.1.2_linux_arm64.tar.gz mv gdrive /usr/local/bin/

then run : gdrive list and follow the instructions

I need to use different gdrive installation version, https://github.com/BugCode1/gdrive/releases/download/2.1.2/gdrive_2.1.2_windows_386.tar.gz (32 bit) the above update is working fine.

qiyan98 commented 1 year ago

Same here in Linux!

Error message:

You can’t sign in because project-367116221053 sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error If you are a developer of project-367116221053, see error details. Error 400: invalid_request

Screenshot from 2023-03-08 15-26-43