Security Prerequisites and Core Concepts
Prepare your API security: learn the architecture prerequisites and how to hash passwords with bcrypt.
Guards, Passport, and JSON Web Tokens (JWT)
Understand NestJS guards, Passport with the Strategy pattern and JSON Web Tokens to protect your API routes.
JWT Authentication
Implement JWT authentication in NestJS step by step, configure the auth modules and verify the login endpoint.
Access Control with Guards
Move from roles to granular permissions: create the Permissions decorator and a guard to control access to each endpoint.
Slides of the Week
Review the week 7 slides on authentication, JWT, guards and permissions using the embedded PDF viewer.