Documenting the failWithError option (part of the .authenticate() method) would have saved me and my team a lot of time trying to find a workaround. I didn't see the documentation website anywhere on github, but I'd be willing to submit a PR if I were directed to the right place.
I second that. I had to dig through the number of layers of authentication adapters to find out that underlying passport/authenticate supports failWithError :+1:
@ksmithut would love some docs on this - dealt with the same pain
@hoodsy Any idea where the repo for the documentation website it?
:+1: I'm also very frustrated by the fact that passport doesn't continue the middleware chain in general. I'm trying to catch a redirect passport is making for my logs.
@ksmithut there you go: https://github.com/passport/www.passportjs.org/blob/master/views/docs/authenticate.md
We actually have to hope this PR gets merged https://github.com/passport/www.passportjs.org/pull/51
Most helpful comment
We actually have to hope this PR gets merged https://github.com/passport/www.passportjs.org/pull/51