Open Mmisiek opened 2 years ago
same problem here
Same. Crazy thing is that it was working just fine a few days ago. Been running cloud servers on runpod - was working, now is not. I've tried again and again.
same error
same error here
same
same error.
Same error.
Same here
Hi, if anyone has managed to pass this issue please share the tips :)
same problem
same problem
If you've logged in before, you can copy the token file ${HOME}/.gdrive/token_v2.json
to the same place in your new machine, then you can skip the login process.
not an automated solution, but if you want to download a file from google drive to a remote server, you can launch a web browser on that server
mkdir ~/downloads/
chmod 777 ~/downloads/
# LAUNCH_URL should be in quotes and set to the link of your google drive file
# VNC_PW is set to password
sudo docker run --rm -it --shm-size=512m -p 6901:6901 -v ~/downloads/:/home/kasm-user/Downloads -e VNC_PW=YOUR_PASSWORD -e LAUNCH_URL='LINK_TO_YOUR_FILE' kasmweb/chrome:1.11.0
then you can navigate to https://PUBLIC_IP_OF_YOUR_SERVER:6901
log in with kasm_user
and your password and complete whatever captchas / questions google presents.
more information on how the end result looks is here https://hub.docker.com/r/kasmweb/chrome
Still the same problem today.
same problem
You can use this Repository. Don't forget to hit Star.
I am also experiencing the same issue.
I also have this problem. Iām wondering why this problem has occurred. It was working before
Seems this is due to this https://developers.google.com/identity/protocols/oauth2/resources/oob-migration
October 3, 2022 - the OOB flow is deprecated for OAuth clients created before February 28, 2022
I downloaded gdrive 2.1.1 for Windows from here - https://github.com/prasmussen/gdrive/releases and the problem still exists. After running gdrive about
I get an "Authentication needed" notice with a URL, but when I go to the URL I get the Access blocked issue. Should I download from somewhere else? Or should I do anything locally?
I downloaded gdrive 2.1.1 for Windows from here - https://github.com/prasmussen/gdrive/releases and the problem still exists. After running
gdrive about
I get an "Authentication needed" notice with a URL, but when I go to the URL I get the Access blocked issue. Should I download from somewhere else? Or should I do anything locally?
This problem is because of changes happens in google policy I think. So owners of this package have to have some change on their package.
I think I am going to try using Dropbox API for now :cry:
You can also try using rclone It has support for Google Drive too along with many others. I used to upload my backup to the Google Drive and it works like a charm
rclone worked for me š
same problem here
Same problem.. any solution ?
So this problem is caused by Google changing the OAuth method. It would just mean you cannot get the token, so if you have already got a token to your drive previously, and still have it stored, you can reuse it as @knwng stated.
Someone else (either on this repo or on gshell's repo) also mentioned spawning a web server that loops back the request (which is apparently what's the new guidelines require), but they didn't provide how to do it, and I wasn't able to replicate it. I'll link to it later if I can find the comment.
Someone will just have to migrate the code and follow their new guidelines. https://developers.google.com/identity/protocols/oauth2/resources/oob-migration
I want to do it, sadly I genuinely do not understand how it works after reading the source code myself.
Ok just reading through the issues list, I have tried it and #645 worked Just follow the steps listed, but you need to install go as well as enable google drive API Link to the fork is https://github.com/carstentrink/gdrive
You can try this method. It's working.
Generating an OAuth token
curl -H "Authorization: Bearer ACCESS_TOKEN" https://www.googleapis.com/drive/v3/files/FILE_ID?alt=media -o FILE_NAME
You can try this method. It's working.
Generating an OAuth token
- Go to OAuth 2.0 Playground https://developers.google.com/oauthplayground/
- In the Select the Scope box, paste https://www.googleapis.com/auth/drive.readonly
- Click Authorize APIs and then Exchange authorization code for tokens
- Copy the Access token
- Run in terminal
curl -H "Authorization: Bearer ACCESS_TOKEN" https://www.googleapis.com/drive/v3/files/FILE_ID?alt=media -o FILE_NAME
But this is solution for download, what about upload ?
WTF is this bullshit? I can't get into my domain. I have a fucking store online and cant get in it to make any money or changes to it. How the fuck do I get blocked out of my own shit? This is fucking bullshit.
FYI: This is still happening.
I have the same issue š¤¦āāļø
WTF
Use this: https://github.com/BugCode1/gdrive/releases/tag/2.1.2 its working for me. verification_code:
just copy the verification code (****** - for example) from this url after redirecting
http://localhost:1/?state=state&code=******&scope=https://www.googleapis.com/auth/drive