Skip to main content
CF

NestJS Authentication and Authorization

2h 17m 12s
English
Paid
Released
Added to CourseFlix

NestJS Authentication and Authorization is a 20-lesson 2 hours 17 minutes self-paced course by Learn NestJS. Learn how to implement Authentication and Authorization in NestJS.

Course facts

Lessons
20
Duration
2 hours 17 minutes
Language
English
Released
December 2022
Added to CourseFlix
May 2023
Instructor
Learn NestJS
Price
Premium

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).

Who teaches NestJS Authentication and Authorization? Learn NestJS

Learn NestJS thumbnail

Learn NestJS is a paid course platform focused entirely on the NestJS Node.js framework — the modular, decorator-driven server framework most popular among teams that want Angular-style architecture on the backend. The platform is run by NestJS core-team-adjacent instructors and covers the framework end-to-end.

The CourseFlix listing carries seven Learn NestJS courses: NestJS Fundamentals, NestJS Authentication and Authorization, NestJS Microservices, NestJS Advanced Concepts, NestJS Architecture and Advanced Patterns, plus two GraphQL tracks (schema-first and code-first). Material is paid and aimed at Node.js developers building production back-end services with NestJS.

What lessons are included in NestJS Authentication and Authorization?

This is a demo lesson (10:00 remaining)

Watch the first 10 minutes free. One payment unlocks all 20 lessons here and every other premium course. No auto-renew.

Watch all 20 lessons from $6.67/mo
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
Watch the other 19 lessons

One payment unlocks this course and every other premium course. No auto-renew.

See plans

What courses are similar to NestJS Authentication and Authorization?

More courses by Learn NestJS

Frequently asked questions

What prerequisites should I have before taking this course?
Before enrolling in this course, students should have a basic understanding of NestJS and TypeScript, as these are fundamental to the lessons. Additionally, installing Insomnia is a prerequisite, as it will be used for API testing throughout the course.
What are the primary tools and technologies covered in this course?
The course covers various tools and technologies essential for authentication and authorization in NestJS applications. Key topics include JSON Web Tokens (JWT), route guards for protecting routes, and advanced authorization techniques like Role-Based Access Control (RBAC) and Claims-Based Authorization (CBAC).
Who would benefit most from taking this course?
This course is ideal for developers who are familiar with NestJS and wish to deepen their understanding of authentication and authorization. It is particularly beneficial for those who are implementing secure APIs and need expertise in managing user sessions and permissions.
What kind of hands-on projects will I work on during the course?
Throughout the course, students will engage in practical exercises such as creating a users resource, implementing sign-in and sign-up routes, and integrating Google Authentication. Additionally, there are bonus sections on two-factor authentication and sessions with Passport to enhance learning.
How does the course content compare to similar courses?
This course offers a focused exploration of NestJS-specific authentication and authorization techniques, taught by experts like Kamil Mysliwiec and Mark Pieszak. Unlike broader courses, this one emphasizes practical implementation, including JWT, RBAC, and API key integration.
What topics are not covered in this course?
The course does not cover general TypeScript or NestJS fundamentals, as it assumes prior knowledge in these areas. Additionally, advanced topics like OAuth2 and social login integrations beyond Google Authentication are not included.
What is the estimated time commitment for completing this course?
The course has a total runtime of approximately 2 hours and 17 minutes, spread across 20 lessons. Students should also allocate additional time for hands-on projects and practicing the techniques discussed in the lessons to fully grasp the concepts.