A Trick For Enabling Global Auth In NestJS

preview_player
Показать описание
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.
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 ⭐):
Рекомендации по теме
Комментарии
Автор

Thank you so much for such amazing explanations .... ❤

andrejkling
Автор

Hello bro am just close to finish the course it is very valuable and we dive so many topics. Want to move to the client side dev.. what do u recommend to learn for frontend with nestjs dunno what library/framework to choose

ajndlajjnl
Автор

Global Auth Guard is preventing me to access Refresh Controller.
Can't make it public though, what should do ?

techiesakar
Автор

Soo nice,
File uplouding
Google or facebook login
If you have time and its possible please consider this feutures

apdiwhapmohmet