Closed phanect closed 3 years ago
@jaredhanson
I have cut off Node.js 0.4 support in this PR. NVM can't install Node.js 0.4 anymore. Is it OK? Or should I do any other work to support 0.4?
It's not consistent with the design of Passport to pass credentials into strategies. Strategies are intended to handle parsing of requests and drive verify
callbacks accordingly. If you could make this PR parse requests from Geddy, I'd consider merging.
I'd also like to pull credentials from req.params. b46ff4c seems to do that in much the same style as the existing code does from body and query. Did I miss something in this PR that changes the design? If so, is there another approach that you would accept that uses req.params?
Thanks!
@phanect if you make a PR against https://github.com/passport-next/passport-local this will get looked into.
Apologies for leaving this PR open without any response. Let me close this PR.
I'm using passport from Geddy and there is no
req.body
/req.query
. So I want an option to specify params.