jaredhanson / passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-oauth2/?utm_source=github&utm_medium=referral&utm_campaign=passport-oauth2&utm_content=about
MIT License
607 stars 343 forks source link

Invalid Code in Request Error - Even Though It Worked? #159

Open KingCh1ll opened 2 years ago

KingCh1ll commented 2 years ago

Hi, I keep getting this error traced from passport-oauth2.

TokenError: Invalid "code" in request.

I'm not sure why this problem is occurring, since it successfully logged me in. If you can help me, thanks in advance.