Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Application is not verified #514

Open
jakubthedeveloper opened this issue Nov 20, 2019 · 45 comments
Open

Application is not verified #514

jakubthedeveloper opened this issue Nov 20, 2019 · 45 comments

Comments

@jakubthedeveloper
Copy link

When visiting the url I get:

Google sign-in for this application is temporarily disabled
We have not yet verified this application for Google Login.

error

@lzzy12
Copy link

lzzy12 commented Nov 20, 2019

Yep same for me

@andrewtch
Copy link

Same for me here.

@zihadmahiuddin
Copy link

Same.
It was really useful :(

@lzzy12
Copy link

lzzy12 commented Nov 21, 2019

@zihadmahiuddin We can always compile it on our own with our own api keys, so it's still useful ;)

@mbrother2
Copy link

Hi all,
You can try my script here:
https://github.com/mbrother2/backuptogoogle

What can this script do?
  • Complie gdrive (https://github.com/gdrive-org/gdrive) on your server with your Google credential
  • Create cron auto backup
  • Auto remove old backup on Google Drive
  • Run upload from your backup directory to Google Drive whenever you want
  • Detail log

@mbrother2
Copy link

Hi all,
I updated my script to send error email if upload to Google Drive fail. Please try with update butgg:

  • For Linux:
butgg.bash --update
butgg.bash --setup config
  • For BSD:
butgg.sh --update
butgg.sh --setup config

@Xaris
Copy link

Xaris commented Nov 24, 2019

When i create all the needed google disable it with your tool @mbrother2

@mbrother2
Copy link

@Xaris
My script build gdrive with YOUR google credential, so you can trust it :), right?

@Xaris
Copy link

Xaris commented Nov 24, 2019

Yes, but google delete my project few minutes later...

@mbrother2
Copy link

@Xaris

You should contact with Google about that.

@andreyurch
Copy link

The same! Terrible situation.

@Xaris
Copy link

Xaris commented Nov 26, 2019

@Xaris

You should contact with Google about that.

My problem is i need to make a VERY MASSIVE backup and this script is the best solution... and how i can say to google it? "Oh hi google, i need to make 2.2 TB of backup because your Data transfer (of Gsuite) sucks, but don't worry, i'll transfer 749 GB at day only for you." it's even allowed in the google TOS to use this script?

@mbrother2 Can you make a version with (your) API & Oauth working? I tested on console on my private account, and TWO GSuite accounts (different organizations) and google both shut down these projects, There must be a reason .-.

@Xaris
Copy link

Xaris commented Nov 26, 2019

Now i understand why Google shut down it.. if you have a big backup, you need to verify it if public if you want to move a good amount of files, and if internal, it need to raise the limit anyway because is stuck to 100 grants per minute, and 10.000 at day...

@ecomaikgolf
Copy link

Same for me

@jw8013
Copy link

jw8013 commented Nov 29, 2019

Same for me!

@pablodc00
Copy link

pablodc00 commented Nov 29, 2019

Hi, when I run
go get github.com/prasmussen/gdrive
I get this error:
package context: unrecognized import path "context" (import path does not begin with hostname

@jakubthedeveloper
Copy link
Author

@pablodc00 your information is not related to the thread

@pablodc00
Copy link

@jakubthedeveloper, sorry
I'm getting the same error:
Google sign-in for this application is temporarily disabled
then I followed the the steps to build the source code by my self using Google Drive APIs credentials, thus I'm asking that in this thread.

@akaszynski
Copy link

Also getting:

Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.

@mbrother2
Copy link

Hi all,

If you only want to backup your data to Google Drive through cron, try to use my script:
https://github.com/mbrother2/butgg
My script ONLY uses curl command to upload, download, send error if upload fail to Google Drive. It uses YOUR Google credential.

What can this script do?

  • Create cron auto backup
  • Send error email if upload to Google Drive fail
  • Auto remove old backup on Google Drive
  • Run upload from your backup directory to Google Drive whenever you want
  • Detail log

@dylanderick
Copy link

Hi all,
You can try my script here:
https://github.com/mbrother2/backuptogoogle

What can this script do?
  • Complie gdrive (https://github.com/gdrive-org/gdrive) on your server with your Google credential
  • Create cron auto backup
  • Auto remove old backup on Google Drive
  • Run upload from your backup directory to Google Drive whenever you want
  • Detail log

Same for me and your script did work on NOV.22. Thanks for your script. But it does not work now. It shows that [WARNING] Can not create gdrive credential. Please run "/root/bin/gdrive about" to create it after.

@mbrother2
Copy link

@duanpingbo

Please report your issue to my repo and give me some informations about your server.

@rodrigocnovos
Copy link

same here!

@dylanderick
Copy link

@duanpingbo

Please report your issue to my repo and give me some informations about your server.

It can works well now. I did the wrong way before. Thanks for your script.

@nguaman
Copy link

nguaman commented Dec 2, 2019

same here!

@csabaujvari
Copy link

+1 same here

@SalimF
Copy link

SalimF commented Dec 5, 2019

Still facing same issue

@vvigilante
Copy link

+1

@hetscue
Copy link

hetscue commented Dec 6, 2019

Same here. OAuth version changed?

@ValentinAUCLERC
Copy link

Same here...

@jayjupdhig
Copy link

same problem here, maybe that "gdrive" project is dead??

@mbrother2
Copy link

Please try https://github.com/mbrother2/backuptogoogle to build gdrive with your own Google credential.

@kosuodhmwa
Copy link

Thank you, will look about it..

@loiclefloch
Copy link

Hello everyone.

I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.

To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:

For example, with gdrive-linux-x64:

1- open the file
2- search for the clientId 367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com and replace it with your own clientId.
3- Search for the client secret 1qsNodXNaWq1mQuBjUjmvhoO and replace it with your own.

The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go

@mdobydullah
Copy link

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.

@liushawulan
Copy link

Hello everyone.

I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.

To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:

For example, with gdrive-linux-x64:

1- open the file
2- search for the clientId 367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com and replace it with your own clientId.
3- Search for the client secret 1qsNodXNaWq1mQuBjUjmvhoO and replace it with your own.

The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go

sorry to bother you guys, but how to open gdrive-osx-x64 and repliace the handlers_drive.go file? i cloned this project, and replace new credentials in the handlers_drive.go file within gdrive directory, then in iterm2 i run the command: go run gdrive.go, only errors.
sorry i'm totally a layman.

@mbrother2
Copy link

@liushawulan

Do you want to use gdrive on OS X? Maybe I can write a script to build gdrive on OS X with your Google credentials if you need.

@liushawulan
Copy link

@liushawulan

Do you want to use gdrive on OS X? Maybe I can write a script to build gdrive on OS X with your Google credentials if you need.

thank you bro. yesterday night i was working on it till nearly 4 am, yet still failed. I've tried lots of methods.
image Following this thread, i managed to replace my credentials with default, but it falied in exchanging auth code. I live in China and use shadowsocks to bypass GFW, so maybe this problem is related to Golang env, else maybe my internet access be the problem. Yes i want to use gdrive on OS X, i want download some Ebooks file, each of them is more than 25G.
Thanks before.
I've also followed your thread and the official 403 error.#426, but i got stuck in
image. it shows 'unrecognized import path' or 'tcp dial, ...timeout' . Finally i gave it up. and deleted the unzipped gdrive directory.
:) After all, a layman is a layman.

image

@liushawulan
Copy link

image
#392 (comment)
this thread helped me to replace the credentials by using a binary editor.

@mbrother2
Copy link

@liushawulan

I think your issue related to macos firewall. Please temporary disable firewall on your macos and try again.

@liushawulan
Copy link

thanks bro. i've tried yet failed.
image
Doesn't matter. Maybe i need to redo it from scratch. for now just leave it.
I appreciate your kindness.

@mbrother2
Copy link

@liushawulan

Please try #95

@liushawulan
Copy link

@liushawulan

Please try #95

iterm2 log:
curl 172.217.27.141

<TITLE>301 Moved</TITLE>

301 Moved

The document has moved here.

Failed getting oauth client: Failed to exchange auth code for token: Post https://accounts.google.com/o/oauth2/token: dial tcp 172.217.27.141:443: i/o timeout

alias setproxy = "export all_proxy="socks5:127.0.0.1:1086"
image
it seems something else is wrong, not the proxy setting. curl ipinfo.io, it shows "
"city": "Hong Kong",
"region": "Central and Western",
"country": "HK","
later i'll reconsider this problem. now i need to do some more urgent work. :)
thank you.
have a good day.

@pertinency
Copy link

Hello everyone.

I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.

To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:

For example, with gdrive-linux-x64:

1- open the file
2- search for the clientId 367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com and replace it with your own clientId.
3- Search for the client secret 1qsNodXNaWq1mQuBjUjmvhoO and replace it with your own.

The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go

This works to me. Thanks a lot!!

@kaihendry
Copy link

Just wanted to mention I've switched to using rclone instead of Gdrive. It's supported and is able to export files. https://forum.rclone.org/t/export-workspace-sheet-to-xlsx/21950/8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests