In this episode of the NestJs Full Course, we dive into user name and password authentication using passport.js local strategy. Learn how to implement passport local authentication in your NestJs project and enhance the security of your application. Don't forget to like, subscribe, and hit the notification bell for more educational content on authentication in NestJs. #passport.js #nestjs #authentication
📖 Chapters:
0:00 Intro
0:26 Creating The Auth Module
1:05 Installing The Dependencies
1:45 Find User By Its Email
2:51 Validate User
7:50 Passport Local Strategy
12:59 Login API
15:37 Customizing The Http Status Code
16:11 Custom Guard For Login API
17:26 Recap
GitHub Repo(Please Give It a Star⭐ on GitHub): https://github.com/vahid-nejad/nestjs