JWT Token - Role based Dashboard | Display name on header using Token | Angular Auth Series Part 8 |

preview_player
Показать описание
Hello Viewers,
This is the 8th part of the complete authentication and authorization in angular 14 + .net 6 project
In this video, we will cover role-based access and display the name from the Token payload. This is a step-by-step video so do follow all the steps.

Upcoming (Part 9): In part 9 will cover the role-based Role based routing and refresh token

Make sure to Give it a star on Githhub:

Npm package for Token Decode:

Connect with me on the below Social links:

Important Links used in Video:

Angular 14 Login and Signup Page | Part 1

Angular 14 Form Validation| Part 2

Login & Signup API creation & integration with Angular | Part 3

Encrypt Password in .NET 6 | Password strength checker in Angular

Angular Authentication with Hashed Password | Part 5

Create JWT token in .NET 6 | Angular + .NET authentication | Part 6

Implement JWT token in Angular 14| Interceptors in Angular | Part 7

Angular News Application

Crypto Currency Application

Angular TODO Application

Angular 13 CRUD using Material UI

Angular QUIZ Application

Angular Add-to-cart app

#angular #angularlogin#angularsignup#angularproject #webapi #dotnet #dotnetcore #angulartraining #html #css #bootstrap #password #security #jwt #jwttoken #security #webdevelopment #netcoremvc
Рекомендации по теме
Комментарии
Автор

I learn a lot and gained knowledge from your videos. Especially this Auth series. Thanks for making this kind of video.🤟

niravvaghela
Автор

Loved this part. So easily explained and demonstrated.

ameyashinde
Автор

Upto previous u doesn't teach API service but in this it is present. please explain about that too

nlnlfzn
Автор

This is really helpful. thank you verymuch!

yazi-creations
Автор

Hi, But how to set role???, we don't have any property of role in frontend, and in backend we are setting by Hardcoded!

yourdramas
Автор

Super Video Tutorial, Can you create one session to explain Active Directory Authentication?

hussainara
Автор

Loved this serie ! When will you post the "forget password ?" part ?

zoeamalys
Автор

Could you tell what to do to save the role and display all rolebased content even if user refresh the page? Now rolebased content only is showing when you login but when you are login and you refresh dashboard it disappears

dd-peek
Автор

please help me. Can you show me api.service on Angular ?

VinhHoang-ihzi
Автор

Hi Developer, Hope all is well going on.

Firstly, I appreciate your efforts.
Secondly, I want to ask that, getting follow all your lectures still but in payload for Jwt ''unique_name'' keyword generated instead of ''user''

In this way, I'm getting error on login.
Thanks

sheri_rox
Автор

i didnt get the part how fullname is set in user-store service can someone please explain that?

waleedshah
Автор

Love from Pakistan...Could you please make videos on .net core web api with REPOSITORY DESIGN PATTEREN... AND also file reading and writing from and to data base..hope you will reply..

muhammadnawaz
Автор

but how to add admin role you set by default role "User " in controller registration action method

vandanayadav
Автор

which extension are you using to create service?

ZeeshanAli-jths
Автор

Please make a vedio for all felter(dropdown, search, pagination, seach behlf of Id) data in this ....

munendrasingh
Автор

I don't understand why you need the user-service component, is it not possible to always get the name and the role from the token from the local storage?

Thomas-jyoe
Автор

sir can i get your dashboard sidebar code? Sir

ReadLineAcademy
Автор

My token is now acting correctly. When pasting my token in JWT, where yours says "name" mine says "Unique_name", while yours shows the name, mine shows the username. I double checked all the code and it matches yours....

I changed
new Claim(ClaimTypes.Name, $"{user.Username}")

to
new Claim(ClaimTypes.Name, user.FirstName + " " + user.LastName )

and the token now shows the full name but the tokens still says "unique_name"....

RAMATW
Автор

do u have online live online course? i want to learn from u.. let me know please

hariyeJai
Автор

Hi Sashi where we are setting values for created variables fullName$ and role$

allamnaveen