Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Error Malformed auth code #85

@xuanlongvts

Description

@xuanlongvts

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions