googleapis / googleapis/google-api-nodejs-client

invalid_grant error suddenly appeared

Open
#2,938 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: question
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

I have a project that worked a month ago. I didn't change a thing on the server side that is related to auth flow, but now I have invalid_grant error all of a sudden. Everything still works on the production, but locally I get error every time I try to use `client.getToken(code)` with status text "Bad Request".

I have deleted all my credentials from google console and have created new, but it didn't help.

It there anything I'm missing? Maybe there was some change on Google side?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.