passport
passport copied to clipboard
Simple, unobtrusive authentication for Node.js.
Hello, I'm wondering how to test authentication with passport. I'm using mocha ( and supertest ) and I didn't find a way to test controllers that depend on req.isAuthenticated()? It...
When accessing http://www.passportjs.org/packages/ the site merely replies with > Not Found This might be associated with some general website maintenance escalated through #767, too.
I'm struggling to find an example of using passport with Meteor. Connect is used by Meteor, so in theory it should work. See the implementation below. It seems like passport...
### Checklist - [X ] I have read the [CONTRIBUTING](https://github.com/jaredhanson/passport/blob/master/CONTRIBUTING.md) guidelines. - [X ] I have added test cases which verify the correct operation of this feature or patch. -...
When trying to login with the following credentials User: 'Admin' Pass: '' a new BadRequestError is being returned. The authenticate fails in /passport-local/lib/passport-local/strategy.js Strategy.prototype.authenticate = function(req, options) { ... var...
I use Express-sessions and express-mysql-sessions. Passport.js for authentication : LocalStrategy, GoogleStrategy,FacebookStrategy I have problem with Google authenticate and Facebook authenticate, this 2 have same problem. > I cant get `req.user`...
It seems that reusing an options object causes very bizarre very difficult to debug bugs. I haven't looked at the code, but I feel pretty confident it's because the options...
## Environment $ node --version v7.5.0 Passport version: 0.3.2 Passport-strategy: 1.0.0 Bluebird: 3.5.0 I'm seeing this warning every time I try and authenticate using passport: ``` (node:1072) Warning: a promise...
Hi Jared, Please refer to description of the issue I have got, described here http://stackoverflow.com/questions/25904977/passportjs-using-multiple-local-strategies-simultaneously How can I resolve it, using PassportJS? Thanks in advance!
This checks that the next parameter is a function, and if it is not, throws a detailed error message. I battled with a confusing error message from a line deep...