You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case it does open the authentication web page but at the end it redirects to an incorrect webpage: http://localhost/?state=state-token&code=XXXXXXXXX&scope=https://www.googleapis.com/auth/gmail.readonly
In my case it does open the authentication web page but at the end it redirects to an incorrect webpage: http://localhost/?state=state-token&code=XXXXXXXXX&scope=https://www.googleapis.com/auth/gmail.readonly
Code parameter censured for obvious reasons.
There is an workaround for this, I had the same problem: #76 (comment)
hi there,
from this demo: https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/quickstart.go
I got an error with message:
2023/03/29 14:40:18 Unable to retrieve token from web: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Malformed auth code."
}
After i copy the url redirect from browser and then enter in command line, It shows the above error
The text was updated successfully, but these errors were encountered: