Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong or expired Google token cause error 500 #50

Open
vzayko opened this issue Mar 3, 2016 · 2 comments
Open

Wrong or expired Google token cause error 500 #50

vzayko opened this issue Mar 3, 2016 · 2 comments

Comments

@vzayko
Copy link

vzayko commented Mar 3, 2016

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)

@jcbagtas
Copy link

jcbagtas commented Dec 7, 2017

Any news regarding this? It's almost 2018 but I haven't seen any solutions nor work around.
:(

@ghaiklor
Copy link
Owner

ghaiklor commented Jan 4, 2018

@Jaronloch2 I didn't work with Google Plus auth system for a long time and don't have time for this now. Feel free to investigate the issue, make a PR and I'll merge and publish fix asap.

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

No branches or pull requests

3 participants