Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

TokenError at Strategy.OAuth2Strategy.parseErrorResponse #7

Open
baaronp7 opened this issue Nov 14, 2016 · 0 comments
Open

TokenError at Strategy.OAuth2Strategy.parseErrorResponse #7

baaronp7 opened this issue Nov 14, 2016 · 0 comments

Comments

@baaronp7
Copy link

Hey do you know how to fix this error? The URL is coming back correct:
http://localhost:3000/auth/twitchtv/callback?code=layjlqizhde93k7b4m6fda6zld1xqy&scope=channel_subscriptions

Here is the error code im getting:
TokenError at Strategy.OAuth2Strategy.parseErrorResponse (C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\passport-oauth2\lib\strategy.js:320:12) at Strategy.OAuth2Strategy._createOAuthError (C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\passport-oauth2\lib\strategy.js:367:16) at C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\passport-oauth2\lib\strategy.js:166:45 at C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\oauth\lib\oauth2.js:177:18 at passBackControl (C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\oauth\lib\oauth2.js:123:9) at IncomingMessage.<anonymous> (C:\Users\baaro\Documents\Repos\DestinyItemDiscoverer\node_modules\oauth\lib\oauth2.js:143:7) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:926:12) at _combinedTickCallback (internal/process/next_tick.js:74:11)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant