📄️ 1. Introduction
Learn the fundamental concepts of Authentication vs. Authorization and how security works in web apps.
📄️ 2. Password Hashing
Learn how to securely store passwords using hashing and salting with the Bcrypt library.
📄️ 3. JWT Tokens
Learn how to use JSON Web Tokens for stateless authentication in your MERN stack applications.
📄️ 4. OAuth (Social Login)
Understand how OAuth works and how to integrate Login with Google using Passport.js.
📄️ 5. Sessions vs. Tokens
A deep dive comparison between stateful session-based auth and stateless token-based auth.
📄️ 6. RBAC (Authorization)
Learn how to manage user permissions and protect routes based on user roles like Admin, Editor, or Student.
📄️ 7. Best Practices
Essential security checklist for building professional and secure authentication systems.