Can I read Passport Local Strategy Implementation on EtoBox?
Passport Local Strategy Implementation by Pedro is a document available to read on EtoBox.
What is Passport Local Strategy Implementation about?
This document configures passport authentication strategies for local authentication. It uses passport-local to authenticate users by username and password stored in a MongoDB user collection. It finds the user by username, compares the password with a hashed password stored for the user, and returns the user or an error. It also defines serialization and deserialization to maintain user sessions.
- Author
- Pedro
- Language
- EN