Angular login with jwt | Angular Role based authorization

preview_player
Показать описание
Implement login and signup in angular.
Role based authentication with the help of jwt token and refresh token in angular.
Route guard and HTTP Interceptor.
We will build complete project in angular 14 for that.
..........................................................
Links related to project:
...............................................................................................................
Other links:
.......................................................
connect with me
..........................................
Become a supporter:
.............................................................................
Time stamp
00:00 Introduction and demo of project
02:01 Setting up a new project
04:50 Create components
07:28 Defining our routes
10:53 Defining views and styles of our signup and login components
15:24 Create authentication service
28:27 Implement signup component with custom validations
1:09:17 Implement login component
1:21:50 Auth service
1:36:13 Designing Layout and dashboard, user and admin component
1:45:00 Logout
1:48:05 Separate layout from login page
1:52:51 Unguarded route problem
1:53:00 Create route guard
1:58:00 Service for protected api resources
2:03:10 Http Interceptor for passing access token
2:20:48 Hiding admin links for user
2:34:09 Refresh tokens
2:44:39 Conclusion
.........................................................................................
Other links:
......................................................................................
connect with me
...........................................................................................
Become a supporter:
....................................................................................................
#jwt
Рекомендации по теме
Комментарии
Автор

Great video !! Covered Typical angular concepts at one go 😁. I strongly feel this content is underrated.

dugginenigowthami
Автор

when token expired, im going to protected route, then its keep on going to login page. instead of going to protected route.. in route guard that condition is failing

techbuzz
Автор

this is a good tutorial
do youbmind sharing your contacts

oesvwqf