Unit 4.2

Authentication & Authorization Chapter 11 · Backend Development

~2 weeks 2 tutorials Midterm 4

Security is non‑negotiable. This unit covers the full spectrum of authentication and authorization: hashing passwords with bcrypt, JSON Web Tokens (JWT), session management, OAuth2 flows, and role‑based access control (RBAC). You will learn to secure your APIs against common threats.

Unit Learning Outcomes

Tutorials

Authentication Basics (JWT & Sessions)

Password hashing, JWT generation/verification, session management.

Start tutorial

OAuth2 & Role‑Based Access Control

OAuth2 flows, Passport.js, RBAC, and API security best practices.

Start tutorial

Assessments & Deliverables

Unit 4.2 Quiz Due: End of Week 9 Start
Midterm 4 Scheduled: Week 8 Upcoming
Module Project: Backend API Development Submit: End of Module 4 Submit