Top "Passport-local" questions

Authentication strategy for Passport JS using a username/email and password.

Passport.js - Error: failed to serialize user into session

I got a problem with the Passport.js module and Express.js. This is my code and I just want …

node.js express login passport.js passport-local
Sending back a JSON response when failing Passport.js authentication

I'm using Node.js as a backend API server for an iPhone client. I'm using Passport.js to authenticate with …

javascript node.js authentication passport.js passport-local
passport's req.isAuthenticated always returning false, even when I hardcode done(null, true)

I'm trying to get my Passport local strategy working. I've got this middleware set up: passport.use(new LocalStrategy(function(…

node.js express passport.js passport-local
passport js missing credentials

Been working on this for a few hours now, pretty frustrating... router.post('/', passport.authenticate('local-signup', function(err, …

passport.js passport-local
How does passport js stores user object in session?

I am using node/express with passport in my development. I came across an article which says: Express loads the …

node.js express passport.js passport-local
How to handle unauthorized requests with nodejs/passport

As per the documentation, if I was handle authentication requests like so, I would be able to capture successful attempts. …

node.js passport.js passport-local
Passport: Allow sign up with name and email address? (Local Strategy)

Is there any way to allow a user to register on the local strategy with his password, email and name? …

javascript node.js passport.js passport-local
Verification email with token in passport.js

I just looking for solution which makes verification email with token for my local autentification in passport.js Is there …

javascript node.js token passport.js passport-local
Passport local returns error 400 bad request with Angular

I am trying to integrate passport to my code's login form. Client side calling server side works as it should …

javascript angularjs express passport.js passport-local
ValidationError: User validation failed at MongooseError.ValidationError

I am trying to create a simple node.js app with passport local authentication using mongoDb and express as a …

javascript node.js mongodb express passport-local