-
Notifications
You must be signed in to change notification settings - Fork 100
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
Golang Gmail Api #37
Comments
My code
|
you need add your account as test user of OAuth consent screen |
exact same problem here, even with test account properly saved, do you have any fix ? |
From your source:
This variable must be empty for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Run code in https://developers.google.com/gmail/api/quickstart/go success
Actual Behavior
I got error:
Go to the following link in your browser then type the authorization code:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=547117123835-tkhmlkohvj3rncvahj0h1o59vl4kgjpk.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.readonly&state=state-token
2019/10/09 18:19:30 Unable to read authorization code: EOF
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: