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

Error when authenticating: This app is blocked #404

Open
markusb opened this issue Aug 4, 2024 · 22 comments
Open

Error when authenticating: This app is blocked #404

markusb opened this issue Aug 4, 2024 · 22 comments

Comments

@markusb
Copy link

markusb commented Aug 4, 2024

When I vists the URL given with 'grive -a' I get the following error message:

This app is blocked

This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

@Predbo
Copy link

Predbo commented Oct 3, 2024

same here

@funny0facer
Copy link

@ChooChooAl
Copy link

The steps seem to have changed? I just attempted the steps, and the 2nd item in step 5 was not there (CLI) and from there on it seemed to deviate a bit. I had to use my email as support and author at one stage.
But I did get a download file. Per the site, I should wait for 5 minutes for it to work.

@galenthurber
Copy link

same here will follow thread

@ChooChooAl
Copy link

I did fill the forms and I do still have a "reviewing" note on my client so I guess they are still reviewing.

@funny0facer
Copy link

The steps seem to have changed, but I did not have any problem to create a new token. Here are the steps I did in form of pictures:
Oauth

@ChooChooAl
Copy link

So how do I use this?
In reading it looks like all I need to do is:
cd
grive -a --id --secret

But it doesn't seem to work. I still get the 'click on link and authenticate' prompt.

@funny0facer
Copy link

you have to provide values for --id and --secret.
Then click on the link and approve the access. You might need to click on "advanced" or "extended". My german screenshot show you how it should look like:

screenshot

The name of the app should be identical to the name within the google API settings:

grafik

@ChooChooAl
Copy link

ChooChooAl commented Nov 20, 2024

Are you saying that I have to rename /bin/grive2 to /bin/rclone and then call this ?
rclone -a (etc)
This is what I see
Screenshot from 2024-11-20 13-46-47

@ChooChooAl
Copy link

I renamed the app in credentials to grive2z (I'm running this on Zorin OS. I'll need a way to know which 'grive' I'm using), and I now get this message that says the approval has not completed yet. So I can't go any further.
Screenshot from 2024-11-20 14-00-04

@funny0facer
Copy link

you do not need to rename the actual binary.
I just created a new project and changed to the new layout to check what might gone wrong on your side.
Did you maybe "publish" your app?
You want your app either "internal" oder "external testing"
Screenshot_20241120_222231

Screenshot_20241120_222257

No verification of the App should be necessary

@ChooChooAl
Copy link

ChooChooAl commented Nov 20, 2024

Do I publish? I did not.
Mine is set to testing external. Yet it still doesn't authorize.
Can't do internal. I'm not a google workplace user (per the pop up).
When I do the grive -a thing, I get the link to open a browser and I have to log in as myself with my account. But it stops there with the "app is waiting in review" message.

@ChooChooAl
Copy link

Not sure if I did this right. I added my self to the user testing list. Complete email address.
I then went back and did the grive -a. I use firefox and this time I got a error message that the authentication could not continue, and reminded me FF will not authenticate sometimes correctly. Either an add-on? Anyway I copied the link and pasted it in Edge and the authentication went through okay. I'm downloading files now. Hopefully I haven't mucked up the other OS I use.

@funny0facer
Copy link

Congratulations, sounds great!
I did not have an issue on firefox to authenticate, but yes, maybe an addon.

@xSeekTruthx
Copy link

Just stopped working about 2 weeks ago. Got the new api and key, worked for a week, then stopped again. Did again, worked for a week then stopped. Am I missing something?

@ChooChooAl
Copy link

I'm having the same issue with my 2 systems I'm trying this with. They are test and I don't use them but once a week maybe.
I have a shell script the does the grive -a --etc to do the password and name to restart it. It works the the duration of my visit but when I return I have to do it again. I don't have to make a new auth thank goodness.

@xSeekTruthx
Copy link

xSeekTruthx commented Dec 8, 2024 via email

@ChooChooAl
Copy link

How you launch this I'll leave it to you. Please test this in the command line. I just added the 2>.... part and haven't had to test it.
My update seems to work fine today.
Shell script as follows, note that I make a log file in my grive folder. Folder named after the grive command duh! :

#!/bin/bash
echo "

Are you sure you want to reset Google Drive?"
echo
read -n1 -r -p "$(echo -en "\e[1;93m")Press any key to continue...$(echo -en "\e[0m")" key

if [ $key = "y" ]
then
cd ~/grive
rm .grive
grive -a --id "put id here" --secret "put secret here" 2>&1 |tee -a ${HOME}/grive/update.log
fi

@xSeekTruthx
Copy link

Thank you! I will try this soon and report back.

@novazur972
Copy link

I have a shell script the does the grive -a --etc to do the password and name to restart it.

I have to do it about every 10 days. But sadly impossible to script it because I have to clic on the link provided then choose account in the browser.

@galenthurber
Copy link

I've given up on Google Drive, they truncated nearly 200 files of mine, it took nearly 2 months to get most of the files back.
Too untrustworthy unreliable

@novazur972
Copy link

I've given up on Google Drive, they truncated nearly 200 files of mine, it took nearly 2 months to get most of the files back. Too untrustworthy unreliable

I agree. I will also stop with it quickly.

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

No branches or pull requests

7 participants