Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign in with Google temporarily disabled for this app #86

Open
alexnastetsky opened this issue Dec 7, 2019 · 26 comments
Open

Sign in with Google temporarily disabled for this app #86

alexnastetsky opened this issue Dec 7, 2019 · 26 comments
Assignees

Comments

@alexnastetsky
Copy link

alexnastetsky commented Dec 7, 2019

When I do drive login and login through the browser, I get this:

This app has not been verified yet by Google in order to use Google Sign In.

shows as accessing project-928646931793

@rjain15
Copy link

rjain15 commented Dec 8, 2019

Same here... is this app disabled?

@javitorres
Copy link

It seems you need to allow access to insecure applications in your Google account here. I don't feel good doing that

@AlexHowser
Copy link

Same here :(

@ZamotZ
Copy link

ZamotZ commented Dec 26, 2019

Same here - even with "allowed access to insecure applications".

@OneMiay
Copy link

OneMiay commented Jan 16, 2020

Don't working :(

@nurdtechie98 nurdtechie98 self-assigned this Jan 18, 2020
@nurdtechie98
Copy link
Owner

Sorry for the delay. I have applied for the application to be verified just today. It might take a few weeks for the application to get verified by the google team.
Hope they get back to us soon 🙈

@karolisr
Copy link

Working for me January 26, 2020

@OneMiay
Copy link

OneMiay commented Jan 27, 2020

Me too 27, 2020

@alexanderankin
Copy link

not working Feb 18, "Sign in with Google temporarily disabled for this app"

@memachado
Copy link

Is there any workaround?

@mckarthik7
Copy link

Not working yet.
I suppose the workaround we can try is replacing the oauth mechanism in the scripts to use our IDs for the application. That should make us developers of the application (which we will need to create in our google accounts) that may allow us to use it for ourselves in debug mode.
This is quite frustrating.

@mckarthik7
Copy link

mckarthik7 commented Feb 29, 2020

It appears Google has disabled option 3 manual copy/paste from the OAuth mechanisms (https://developers.google.com/identity/protocols/OAuth2InstalledApp), which I think is what the script uses currently.

Important: The custom URI scheme and loopback IP address options now provide more reliable, secure, and user-friendly ways to obtain user authorization. This option may be discontinued in the future and should only be used if the choices above are not viable.

I suspect they have finally gone ahead with the change and disabled it for all apps. The repo would need to migrate to Option 2 loopback address.

Option 2: Loopback IP address (macOS, Linux, Windows desktop)

To receive the authorization code using this URL, your application must be listening on the local web server. That is possible on many, but not all, platforms. However, if your platform supports it, this is the recommended mechanism for obtaining the authorization code.

When your app receives the authorization response, for best usability it should respond by displaying an HTML page that instructs the user to close the browser and return to your app.
Recommended usage | macOS, Linux, and Windows desktop (but not Universal Windows Platform) apps

@mckarthik7
Copy link

Okay, I was able to get a workaround by creating your own oauth credentials on my google account. This gives 100 logins before verification is needed, so that gives you 100 personal devices. Just follow the steps in README.md for the dev branch (although it should work the same for the master branch, just the custom client secret json is required)

For Development
Clone the repo
$ git clone https://github.com/nurdtechie98/drive-cli.git
Get your client_secret.json from Oauth. Make sure to enable Drive Api for the project. Rename the client secret to oauth.json and place it in the drive_cli directory.

Install the package:

    # move into package directory
    $ cd drive-cli
    # install package in edit mode
    $ pip install -e . #note the dot

@souljedi
Copy link

@mckarthik7 thanks for sharing your workaround. However, I'm failing with setting up the oauth credentials in my google account. It requires me to first create a consent screen and for that i first would need to submit a new app to google. is there some other way to get the oauth credentials?

@mckarthik7
Copy link

Unfortunately, I wasn't able to find a different way. Thankfully though, it doesn't take too long. It took me about two mins to get it working with this.

@andrewerf
Copy link

Same here

@Wolfe1
Copy link

Wolfe1 commented May 4, 2020

Still getting the error

@mabebrahimi
Copy link

Me too :(

@BadGhost
Copy link

BadGhost commented Aug 3, 2020

still, work in process?

@ghost
Copy link

ghost commented Aug 4, 2020

@souljedi When using your own credentials and presented with the "This app isn't verified..." screen you can just click the "Advanced" button at the bottom and then "Go to [APP NAME]" to auth.

"This app isn't verified" screenshot

@ucalyptus
Copy link

Screenshot from 2020-09-10 21-08-56
@harrego for me it doesn't even show an unsafe link to proceed with

@ucalyptus
Copy link

@nurdtechie98 could u get this app verified finally? Not able to use it at all.

@sawasy
Copy link

sawasy commented Oct 27, 2020

Looking at enabling unsafe scripts mentioned #86 (comment) I wasn't able to allow for this, as I have 2FA enabled. I also am getting the screen without the 'proceed anyway' option. I am guessing 2FA is causing some issues here.

@AlexanderMakarov
Copy link

Still experience the problem. @nurdtechie98 is apply process is still going in Google? Any news?

@noamTzi
Copy link

noamTzi commented Nov 14, 2020

Me too.
Do you guys know anything other that might work for now until drive-cli is verified?

@ThaNikkitz
Copy link

What worked for me, for some stroke of luck I believe:
Create OAuth client ID credentials at https://console.cloud.google.com/apis/credentials from the +Create Credentials button.
(I believe you have to have a project created for this to be allowed).
Select for "Desktop App" in the dropdown menu. Download the .json file, [re]name it oauth.json and move it to the drive-cli directory. In my case this was a conda env, so ~/anaconda3/envs/env-name/lib/python3.x/site-packages/drive_cli/.
Run "drive [--remote] login" and, at least for me, it solved the google alert and sent me to the confirmation code screen without warnings or otherwise.

Hope this can help 😃

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

No branches or pull requests