Access blocked: This apps request is invalid

907 views
Skip to first unread message

Josh Berry

unread,
Jul 28, 2023, 11:15:26 AM7/28/23
to Got Your Back: Gmail Backup
Hi,

I am trying to restore a mailbox using GYB. The project creation part of the steps works as expected, but when I get to the "OAuth Consent" step it all goes south

Firstly, the wiki is missing some information. It says 

OAuth Consent
The instructions will ask you to supply Client ID and Client Secret without telling you how to find them though, so here's how:

Once you've completed that flow, you will find yourself at the 'APIs & Services' Dashboard. Select 'Credentials', and '+ CREATE CREDENTIAL'. Now you can follow the instructions from GYB's prompt.

What should be in the "here's how" section? I think I got the details from Google (be selecting "Web App" when you stick in the URL) but when I get to the verification step,  running

./gyb --action estimate --email my....@domain.com

This asks me to put another URL into my browser, which I do, but now I get the error

Access blocked: This app’s request is invalid

You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error

If you are a developer of this app, see error details.

Error 400: redirect_uri_mismatch

If I go into the error details I get this information

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=http://127.0.0.1:8080/


I never get the chance to accept the authentication

Any ideas? I can't see any way forward in previous posts or issues in GitHub

Thanks
Josh
Reply all
Reply to author
Forward
0 new messages