Google login form trouble

Hello everybody, i had a code that was working around a month ago, but now i have this error, anyone can explain why?
TokenError: Bad Request
at Strategy.OAuth2Strategy.parseErrorResponse (/rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at Strategy.OAuth2Strategy._createOAuthError (/rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at /rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at /rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at passBackControl (/rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at IncomingMessage. (/rbd/pnpm-volume/efe30715-62e7-4185-bd52-aab671521cec/node_modules/
at IncomingMessage.emit (events.js:201:15)
at endReadableNT (_stream_readable.js:1130:12)
at processTicksAndRejections (internal/process/task_queues.js:83:17)

Hi there @ayring!
Can we please have the code so we can take a look at it and see what’s wrong? We can’t do much with just the error :slight_smile:


I think we have a PNPM failure or NPM failure, because this is happening a lot of times. I think people may have some faulty packs or something like that.

Try generating new oauth2 secrets,client ids, and whatever values you use for oauth maybe that’ll help. This is most likely not a pnpm failure because, Bad Request refers to your project sending malformed/bad data to a server. If this was a pnpm error it’d probaly be more system related like “EACCESS”, or file not found(not as http error 404).

1 Like