Skip to main content

NestJS Authentication and Authorization

2h 17m 12s
English
Paid

Learn how to implement Authentication and Authorization in NestJS. Master JWTs, Sessions, and RBAC, CBAC and other fundamentals in this hands on course! Prepare for an in-depth guided course & walk-through of Authentication & Authorization for NestJS applications from the Creator Kamil Mysliwiec himself, and Mark Pieszak (Core Team Member).

About the Author: learn.nestjs.com

learn.nestjs.com thumbnail
Learn everything you need to master NestJS and work with modern server-side applications of all sizes.

Watch Online 20 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 20 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: NestJS Authentication - Course Overview
All Course Lessons (20)
#Lesson TitleDurationAccess
1
NestJS Authentication - Course Overview Demo
01:22
2
Authentication and Authorization
01:44
3
Creating a Users resource
06:22
4
Prerequisite: Install Insomnia
00:30
5
Hashing Passwords
04:17
6
Implementing Sign-in and Sign-up Routes
07:55
7
What’s JWT?
10:37
8
Protecting our routes with a Guard
07:05
9
Adding Public Routes
05:35
10
Active User Decorator
06:05
11
Implementing Refresh Tokens
07:06
12
Invalidating Tokens?
12:28
13
Role-Based Access Control
09:55
14
Claims-based Authorization
07:09
15
Policy-based Authorization
10:04
16
Introduction to API Keys
02:17
17
Integrate API Keys feature
11:18
18
Part 3: Google Authentication - NestJS portion
06:39
19
Bonus: Two-factor authentication
07:38
20
Bonus: Sessions with Passport
11:06
Unlock unlimited learning

Get instant access to all 19 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription