Closed jbothma closed 3 years ago
Fixes this error which occurs when trying to authenticate via github
nodejs | error { failed to fetch user profile (status: 400 data: {"message":"Must specify access token via Authorization header","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}) nodejs | at /home/app/nodemodules/passport-github/lib/passport-github/strategy.js:90:28 nodejs | at passBackControl (/home/app/nodemodules/oauth/lib/oauth2.js:132:9) nodejs | at IncomingMessage.<anonymous> (/home/app/nodemodules/oauth/lib/oauth2.js:157:7) nodejs | at IncomingMessage.emit (events.js:203:15) nodejs | at endReadableNT (streamreadable.js:1145:12) nodejs | at process.tickCallback (internal/process/nexttick.js:63:19) nodejs | name: 'InternalOAuthError', nodejs | message: 'failed to fetch user profile', nodejs | oauthError: nodejs | { statusCode: 400, nodejs | data: nodejs | '{"message":"Must specify access token via Authorization header","documentationurl":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}' } }
thank you @jbothma
Is it ok if I add you as collaborator?
Sure! :) thanks!
Fixes this error which occurs when trying to authenticate via github