Examples from the "Section 15: Adding Authentication" of the course "NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)" by Academind (Maximilian Schwarzmüller).
Section 15 covered:
- What is Authentication?
- How is Authentication Implemented?
- Our Updated Project Status
- Implementing an Authentication Flow
- Encrypting Passwords
- Adding a Tiny Code Improvement
- Adding the Signin Functionality
- Working on Route Protection
- Using Middleware to Protect Routes
- Understanding CSRF Attacks
- Using a CSRF Token
- Adding CSRF Protection
- Fixing the Order Button
- Providing User Feedback
- Optional: Styling Error Messages
- Finishing the Flash Messages
- Adding Additional Flash Messages
More info: https://www.udemy.com/course/nodejs-the-complete-guide/