ghaiklor/passport-google-plus-token
Vedi su GitHubWrong or expired Google token cause error 500
Open
#50 aperta il 3 mar 2016
bughelp wanted
Metriche repository
- Star
- (23 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
If a token is expired or broken, system returns 500 instead of 401:
InternalOAuthError: Invalid Credentials at c:\node_modules\passport-google-plus-token\lib\index.js:115:25 at passBackControl (c:\node_modules\oauth\lib\oauth2.js:123:9) at IncomingMessage. (c:\node_modules\oauth\lib\oauth2.js:143:7) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at nextTickCallbackWith2Args (node.js:441:9) at process._tickCallback (node.js:355:17)