You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed you turned passport-oauth into a meta package, neat! I'm trying to get this set up to authorize against an oauth2orize endpoint, and I'm running into a problem.
In short, I'm stuck at the authorize dialog, and even though the code is sent back to the callback, the callback sends me right back to the dialog again.
Hey there,
Noticed you turned passport-oauth into a meta package, neat! I'm trying to get this set up to authorize against an oauth2orize endpoint, and I'm running into a problem.
In short, I'm stuck at the authorize dialog, and even though the code is sent back to the callback, the callback sends me right back to the dialog again.
Upon inspection of the code, I found this conditional:
... which kickstarts the code-to-token exchange (I hope), but if not matched, would restart the auth process over again (sounds familiar, no?)
So I added a console.log:
console.log(req.query);
and got this:
Function?
console.log(req.query()); // code=BneCqI...
cd
'd into the example app, and ran it.The text was updated successfully, but these errors were encountered: