Hello! I got a problem with the call back function, when i log in to my google account the page load for 3 minutes and return this error :
{ TokenError: Code was already redeemed.
at Strategy.OAuth2Strategy.parseErrorResponse (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:329:12)
at Strategy.OAuth2Strategy._createOAuthError (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:376:16)
at /Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:166:45
at /Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:191:18
at passBackControl (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage. (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
name: 'TokenError',
message: 'Code was already redeemed.',
code: 'invalid_grant',
uri: undefined,
status: 500 }
I have tried everything since 2days to resolve this error but the problem persists ...
Thanks for your help 🙂
Hello! I got a problem with the call back function, when i log in to my google account the page load for 3 minutes and return this error :
{ TokenError: Code was already redeemed. at Strategy.OAuth2Strategy.parseErrorResponse (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:329:12) at Strategy.OAuth2Strategy._createOAuthError (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:376:16) at /Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:166:45 at /Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:191:18 at passBackControl (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:132:9) at IncomingMessage. (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
name: 'TokenError',
message: 'Code was already redeemed.',
code: 'invalid_grant',
uri: undefined,
status: 500 }
I have tried everything since 2days to resolve this error but the problem persists ... Thanks for your help 🙂