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

Occasionally internal oauth code throws can't get token error #1

Open
thisisthefuture opened this issue Apr 14, 2017 · 2 comments
Open

Comments

@thisisthefuture
Copy link
Owner

thisisthefuture commented Apr 14, 2017

Need to find a consistent repro.
It seems to happen when I'm testing something fresh. Refreshing the browser works around the problem.

Issue can occationally be reproduced with a tab in Private mode.

InternalOAuthError: Failed to obtain access token at Strategy.OAuth2Strategy._createOAuthError (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\passport-oauth2\lib\strategy.js:379:17) at c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\passport-oauth2\lib\strategy.js:166:45 at c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\oauth\lib\oauth2.js:191:18 at passBackControl (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\oauth\lib\oauth2.js:132:9) at IncomingMessage.<anonymous> (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\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) at process._tickCallback (internal/process/next_tick.js:98:9)

@thisisthefuture
Copy link
Owner Author

Hasn't reproduced in the bunch of changes and testing I've done with the latest set of checkins.

@thisisthefuture
Copy link
Owner Author

thisisthefuture commented May 2, 2017

Happened again locally:

No user:	 :(
InternalOAuthError: Failed to obtain access token
    at Strategy.OAuth2Strategy._createOAuthError (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\passport-oauth2\lib\strategy.js:379:17)
    at c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\passport-oauth2\lib\strategy.js:166:45
    at c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\oauth\lib\oauth2.js:191:18
    at passBackControl (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\node_modules\oauth\lib\oauth2.js:132:9)
    at IncomingMessage.<anonymous> (c:\Users\alice\OneDrive\Documents\GitHub\whatsfordinner\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)
    at process._tickCallback (internal/process/next_tick.js:98:9)

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

No branches or pull requests

1 participant