Passport: Document failWithError

Created on 5 Jun 2015  路  6Comments  路  Source: jaredhanson/passport

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.

Most helpful comment

We actually have to hope this PR gets merged https://github.com/passport/www.passportjs.org/pull/51

All 6 comments

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.

We actually have to hope this PR gets merged https://github.com/passport/www.passportjs.org/pull/51

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSteunou picture JSteunou  路  7Comments

Gibbo3771 picture Gibbo3771  路  4Comments

AdityaAnand1 picture AdityaAnand1  路  4Comments

ginovski picture ginovski  路  6Comments

franckl picture franckl  路  5Comments