google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

invalid_grant error suddenly appeared

Open eden-lane opened this issue 2 years ago • 0 comments

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?

eden-lane avatar Apr 03 '22 21:04 eden-lane