GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.64k stars 209 forks source link

Setup problem with Google #301

Closed skydaver closed 3 years ago

skydaver commented 3 years ago

I've done an install today, so I'm nearly certain I have the correct release.

I'm copy/pasting the instructions directly from the Wiki, and from the command prompts in Terminal (MacOS, 11.1) The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

I'm stuck in the authorization with Google. I do not know what to do, since the instructions in the script do not match what happens when I create the project. I'm quite ignorant of this part of Google, and have probably selected the wrong options.

After I create credentials (and I'm guessing that might be part of what is wrong) and try to specify the actions I want done for my email account, I get the following error message: Error 403: access_denied The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer (my gmail address.). Learn more Request Details access_type=offline login_hint=myemailaddress. response_type=code redirect_uri=urn:ietf:wg:oauth:2.0:oob state=l0FN9uEDBMpDmY8SUaLJen0JvQqM06 code_challenge_method=S256 prompt=consent client_id=1083763507479-pkeerpkembpv2m7684j7mlv3is61rrur code_challenge=nKOgAN7vcVbZjwV5N7dO8uBsYm7_SzNAi5z8neN5Hbk scope=https://www.googleapis.com/auth/userinfo.email https://mail.google.com/ https://www.googleapis.com/auth/apps.groups.migration https://www.googleapis.com/auth/drive.appdata openid

Hand holding gratefully received.

nitz commented 3 years ago

Hi @skydaver. You want to add your google account as a test user to the API Project you set up:

image

wsolorza commented 3 years ago

How do I fix this?

https://a.cl.ly/8LukOAYK

https://a.cl.ly/YEuX9247

nitz commented 3 years ago

Take your "app" out of production back to testing.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

skydaver commented 3 years ago

Just tickling this to freshen it up. Life has been hectic, and I haven't had a chance to retry. With luck, this month will be better

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.