Skip to content

Instantly share code, notes, and snippets.

@miki2826
Created July 24, 2016 15:34
Show Gist options
  • Save miki2826/76653b715c85d39181f0a57143f7a35c to your computer and use it in GitHub Desktop.
Save miki2826/76653b715c85d39181f0a57143f7a35c to your computer and use it in GitHub Desktop.
@cAstraea
Copy link

Hello ? Can you offer some hints please ? :D
Been stuck on this I'm seeing this error in the console . Also I think there's something wrong with your routes or ?
because in app.get('/auth/facebook the callbackurl is /auth/facebook/callback but this route doesn't exist so maybe it was /auth/callback/facebook ?

Error
    at Strategy.parseErrorResponse (/Volumes/External/chatbots/botly/node_modules/passport-facebook/lib/strategy.js:196:12)
    at Strategy.OAuth2Strategy._createOAuthError (/Volumes/External/chatbots/botly/node_modules/passport-oauth2/lib/strategy.js:376:16)
    at /Volumes/External/chatbots/botly/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /Volumes/External/chatbots/botly/node_modules/oauth/lib/oauth2.js:191:18
    at passBackControl (/Volumes/External/chatbots/botly/node_modules/oauth/lib/oauth2.js:132:9)
    at IncomingMessage.<anonymous> (/Volumes/External/chatbots/botly/node_modules/oauth/lib/oauth2.js:157:7)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment