passport
passport copied to clipboard
Simple, unobtrusive authentication for Node.js.
Im trying to use PassportJS as a means of authentication for an application I'm writing. The application itself is more of a CLI tool, which doesn't use express. I was...
I wrote an LDAP authentication lib and want to see what is the criteria to be included in the passportjs strategies page? Currently there is only one LDAP strategy there...
Hi, I have an implementation using the passport-saml strategy and it works on a dockerized instance. When I place the same code on a lambda function using aws-serverless-express I can...
module.exports = function(passport){ ``` passport.serializeUser(function(user, done) { console.log('serializing user: ');console.log(user); done(null, user._id); }); passport.deserializeUser(function(id, done) { User.findById(id, function(err, user) { console.log('deserializing user:',user); done(err, user); }); }); login(passport); ``` } In...
`passport.authenticate` allows to pass a callback function as a third argument. ``` module.exports = function authenticate(name, options, callback) {...} ``` When request is made, its middleware function is called: ```...
Btw I couldn't find the website's repo so feel free to link me to there. If you navigate directly to [passportjs.org/packages](http://www.passportjs.org/packages/) you'll be greeted by a `Not Found` page. Found...
I use [email protected] and [email protected]. req.user is alway undefined and so req.isAuthenticated() also not working. Here is my express-setup: ``` var env = process.env.NODE_ENV || 'development'; var path = require('path'),...
I know it is not an issue, but I couldn't find the information elsewhere. on a current project using passport, it is possible to connect to the service on several...
### Expected behavior I expect the search will return any strategy with the given search term anywhere in the name. For example, if I search for "api" I would expect...