Nest Js Full Course Episode 19. In this video I show you how to enable global authentication in nestjs so all routes will be protected by the JWT by default. I also show you how to exclude public routes from the global nestjs auth system.
💖 Become a member to support me: / @sakuradev
Chapters
0:00 Intro
0:53 Enabling The Global Authentication
5:11 Create a Custom Decorator: Public Decorator
07:23 JWT Auth Guard Adjustment
12:12 Recap
GitHub Repo (Please Give it a ⭐):
https://github.com/vahid-nejad/nestjs