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

ROP login does not return failure info #191

Open
davydnorris opened this issue Mar 1, 2020 · 0 comments
Open

ROP login does not return failure info #191

davydnorris opened this issue Mar 1, 2020 · 0 comments
Assignees

Comments

@davydnorris
Copy link

If you look at the example code using the ROP login approach, you see that the option failureFlash is set to true; however, unlike all the other places where errors are caught, the callback doesn't return any information to the Passport's strategy.fail() method.

This means that no details of why the ROP login failed get propagated back to the flash area. I chased this one down for ages in my code only to find the problem is in the lib.

See: webapp-strategy.js, line 248

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

2 participants