-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Sign in with Google temporarily disabled for this app [with solution] #525
Comments
I had the same problem with a new server with Ubuntu 18.04. :( |
I had the same issue with Debian 9 |
Same problem with Ubuntu 18.04, any update? |
Hello Everyone, I've written a way to fix the issue. Please check this article: Mount Google Drive using GDrive on Linux Server with Own OAuth Credentials. I hope this method will work on all servers. Thanks. |
In the end I solved it by using rclone https://github.com/rclone/rclone, the login procedure is working there. |
Hi @donand Congrats. Rclone is a great alternative. Yesterday night, I've solved by compiling the GDrive project with my own OAuth credentials. Now it works fine. I'm using GDrive commands like before. |
I don't think this should be marked [Fixed]. Hard coding credentials is not secure. if someone copies your gdrive binary they'll have access to your account. Is this the recommended path? Will the root cause be fixed? |
Hi @ianxm, GDrive is not being actively maintained at the moment. You should use the compiled gdrive only for you. For security reasons, you shouldn't share your compiled file with others. |
it was good of you to write up the steps to get it to work, but I don't think it's a good idea. It is a security risk even if you don't purposely share the file. It's uncommon to keep binaries around with credentials embedded in them. it would be easy to forget that file requires special handling. If you do this you might want to keep it in your thanks for clarifying about the project. I didn't realize it was unmaintained. I'll use rclone. |
Hello @ianxm, Thanks for your information. Yeah rclone, borg, odeke-em/drive are the great alternatives. |
I had same issue and this fix doesn't work. |
Hi @develooper1994, Please follow all the steps properly and check file permission. It works for me and also tested by more users. |
@donand have you managed to download a file with rclone which is not on your own drive ? |
unfortunately but I don't need anymore. |
No need to compile from source, just create service account in google console and use --service-account option |
Thanks @yarkm13 for sharing. I've tried some methods. Unfortunately, no method worked. Then I've compiled from source and works. |
@mdobydullah you just need to go to https://console.cloud.google.com/iam-admin/serviceaccounts and create service account and you will be able to download json file with credentials (something like project-name-111-1b3f56a.json). Than put it to
such method was not mentioned in thread |
@yarkm13 thanks again. I'll try this method. :) |
@mdobydullah i will be glad to hear from you if it was [in]successful. Please share your experience |
@yarkm13 sure... :) |
I tried but uploaded file does not appear in my google drive and it's not able to view & download from browser. |
This works. Thank You |
@captainheart Sorry for late reply. Please follow these steps. |
@sanketssj5 Great. Nice to hear. :) |
@nftleader I created a service account and did this...it uploaded...but now how do I know what account they uploaded to? the project is part of an organization. Do you know how to specify a user account? |
Hi,
I'm using gdrive to backup my CentOS 7's files for a long time. Gdrive is the best among all google drive backup tools. A few days ago, I've launched a new server (CentOS 8) and tried to setup gdrive. But Google shows "Sign in with Google temporarily disabled for this app".
Please take a look and please resume the maintenance. We love this tool.
Update: I've written a way to fix the issue. Please check this article: Mount Google Drive using GDrive on Linux Server with Own OAuth Credentials.
I hope this method will work on all servers.
Thank you.
The text was updated successfully, but these errors were encountered: