when I try to use google oauth20 then getting this error TokenError: Unauthorized at Strategy.OAuth2Strategy.parseErrorResponse (C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\passport-oauth2\lib\strategy.js:329:12) at Strategy.OAuth2Strategy._createOAuthError (C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\passport-oauth2\lib\strategy.js:376:16) at C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\passport-oauth2\lib\strategy.js:166:45 at C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\oauth\lib\oauth2.js:191:18 at passBackControl (C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\oauth\lib\oauth2.js:132:9) at IncomingMessage. (C:\Users\Rupesh\Desktop\Projects\storybook1\node_modules\oauth\lib\oauth2.js:157:7) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1081:12) at process._tickCallback (internal/process/next_tick.js:63:19)
please help
there was a typo in clientSecret. If you are facing the same problem then make sure that you have checked clientID and clientSecret . Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With