Тёмный
No video :(

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

Let's Program
Подписаться 20 тыс.
Просмотров 27 тыс.
50% 1

Hello Viewers,
This is the sixth part of the complete authentication and authorization in angular 14 + .net 6 project
In this video, we will be covering how to create a JWT Token in .NET 6 with Roles and Name as a payload identity. This is a step-by-step video so do follow all the steps.
Upcoming (Part 7): In part 7 will cover the JSON-WEB-TOKEN (JWT) implementation in Angular by learning interceptors and auth guard
Make sure to Give it a star on Githhub:
github.com/ysh...
github.com/ysh...
Connect with me on the below Social links:
RU-vid: / @letsprogram30
Instagram: / lets.program
LinkedIn: / sashikumar-yadav-93b62...
Telegram: t.me/letsprogr...
Twitter: / yshashi30
Important Links used in Video:
Bootstrap: getbootstrap.com/
Fontawesome4: fontawesome.co...
Angular 14 Login and Signup Page | Part 1
• Angular 14 Login and S...
Angular 14 Form Validation| Part 2
• Angular 14 Reactive Fo...
Login & Signup API creation & integration with Angular | Part 3
• Login and Signup using...
Encrypt Password in .NET 6 | Password strength checker in Angular
• Encrypt Password in .N...
Angular News Application
• Angular 14 News Applic...
Crypto Currency Application
• Angular Project - Cryp...
Angular TODO Application
• TODO Application in An...
Angular 13 CRUD using Material UI
• Angular 13 CRUD with A...
Angular QUIZ Application
• Angular 12 Quiz Applic...
Angular Add-to-cart app
• Add to Cart in Angular...
#angular #angularlogin#angularsignup#angularproject #webapi #dotnet #dotnetcore #angulartraining #html #css #bootstrap #password #security

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@crazynoida
@crazynoida 11 месяцев назад
Most underrated.This channel is much better than other tech channels.Explaination is simple and with examples
@letsprogram30
@letsprogram30 11 месяцев назад
Thanks man🥹
@locthiennguyen
@locthiennguyen Год назад
slow and explain everything, not the kind of throw things and confuse everyone, thank you sir, great work
@letsprogram30
@letsprogram30 Год назад
Thanks for the feedback 🙂
@junaidengineerings
@junaidengineerings 11 месяцев назад
love from lahore, gulberg 3 liberty, petrol pump wali street near liberty round about. keep it up
@deepakmoningi
@deepakmoningi Год назад
ur a genius bro waiting for the angular side implementation
@letsprogram30
@letsprogram30 Год назад
Thank you 😊 Saturday will release the angular side
@anandpandey5654
@anandpandey5654 7 месяцев назад
Very helpful bro, no one was teaching me. Thanks for your efforts.
@letsprogram30
@letsprogram30 7 месяцев назад
Happy to help 🙂
@anelkovac8606
@anelkovac8606 Год назад
Thanks for videos it help me so much to learn and improve my skills, in this part I must change some things , because a have issue error 500 when I start login. I must change Subject because it tell me I have some null value.I m glad to watch your video 😊
@letsprogram30
@letsprogram30 Год назад
Good job 👏
@dilshadashraf8316
@dilshadashraf8316 Год назад
Thanks for this all the series. You are really doing great work.
@letsprogram30
@letsprogram30 Год назад
I’m glad you liked it bro🙂
@harikumar-ug9ux
@harikumar-ug9ux Год назад
hi now, I'm completed upto part 5 ---> the content is marvellous
@letsprogram30
@letsprogram30 Год назад
Good job 👏
@yazi-creations
@yazi-creations 10 месяцев назад
Thanks a lot.. keep doing this kind of videos. from SL
@giorgitamazashvili9338
@giorgitamazashvili9338 Год назад
one Good Indian channel ( From the Billion :D )
@letsprogram30
@letsprogram30 Год назад
Thanks man!
@user-oo6no7fu6s
@user-oo6no7fu6s Год назад
Hello thank you for your video . I have a problem - issue error 500 when I start login . CreateJwt(user); don't work
@jayakumar2927
@jayakumar2927 Год назад
Good one
@letsprogram30
@letsprogram30 Год назад
Thank you!🙂
@RishabhSingh-fb1ws
@RishabhSingh-fb1ws Год назад
Your content is amazing
@letsprogram30
@letsprogram30 Год назад
Thank you 😊
@ShanteshManure
@ShanteshManure Год назад
user does not contain a defination for token .aisa bata rha hai plz solve my error bhai
@JogadorNm10
@JogadorNm10 5 месяцев назад
Great Job!
@letsprogram30
@letsprogram30 3 месяца назад
Thank you! Cheers!
@ghayoorbalti5865
@ghayoorbalti5865 Год назад
incredible work
@letsprogram30
@letsprogram30 Год назад
Thanks man
@ameyashinde423
@ameyashinde423 Год назад
Nicely explained. Thank you
@RatulKoleyYT
@RatulKoleyYT 11 месяцев назад
can you make one video where from angular we receive the token as a payload then verify on api side if that valid or not and then based on that do the authentication either that the user can use the api or not
@sameerfromfsd
@sameerfromfsd Год назад
Thank you so much for wonderful sharing, can you please tell if we need to pass some custom data in token like branchId or anything else which we store in users table? thanks
@neil_armweak
@neil_armweak Год назад
Thank You for your incredible work!
@ritwikgupta7540
@ritwikgupta7540 9 месяцев назад
lol nice username
@neil_armweak
@neil_armweak 9 месяцев назад
@@ritwikgupta7540 thx bro
@NaikIsKing
@NaikIsKing Год назад
Thanks bro
@rumeshbandara9972
@rumeshbandara9972 Год назад
Thanks you so much
@letsprogram30
@letsprogram30 11 месяцев назад
Most welcome
@pa1.chandu
@pa1.chandu Год назад
I am getting null exception while createing and generating the token.
@RezaSwag
@RezaSwag Год назад
I am aswell, did you figure this out?
@govindsingh_13
@govindsingh_13 7 месяцев назад
bro getting error of 500 internal server
@ShanteshManure
@ShanteshManure Год назад
bhai apne token naam se database me ek field create kiya tha kya .because mera user.token and token declare krne me dikkat aa rha hai
@letsprogram30
@letsprogram30 Год назад
Haa bhai token karke ek column create karo and then Usme store kar do Apna token
@user-mg7od9hk6y
@user-mg7od9hk6y 7 месяцев назад
Hi how and where did you send role as user in this token could you please explain
@letsprogram30
@letsprogram30 7 месяцев назад
The roles has to be sent inside the payload as claims
@user-mg7od9hk6y
@user-mg7od9hk6y 7 месяцев назад
Hi @@letsprogram30 Thanks for the response did you sent your role as admin from database as user because you haven't send role as user for john doe .could you please explain.Thanks in advance
@roshanican504
@roshanican504 Год назад
for claims why did we choose role and name ?
@letsprogram30
@letsprogram30 Год назад
This was just for the Demo purpose to be honest. But if you see the further part of the video I have used this claims to display the name on the UI header. This made things use as I was able to access the name from the token and use it wherever I need them in the UI
@narendranunna7663
@narendranunna7663 Год назад
Hey please upload the part 2 for this video
@letsprogram30
@letsprogram30 Год назад
Hello It was covered during the Sunday live stream. I will edit the stream today and upload it by tomorrow morning
@user-vc4qm2en4w
@user-vc4qm2en4w Год назад
Hi,thank you, you store full name of user in token,, why we didn't store id in token
@letsprogram30
@letsprogram30 Год назад
This was just for demonstration purpose
@user-vc4qm2en4w
@user-vc4qm2en4w Год назад
@@letsprogram30 ok thanks
@user-vc4qm2en4w
@user-vc4qm2en4w Год назад
hi, how can i store user id in token?
@candyroll7894
@candyroll7894 Год назад
25:34 for my expire is not working
@keldhougaard6923
@keldhougaard6923 Год назад
Fantastic video as always! Could you help me debug a issue i'm having? It registers fine to the database, with hashed password, all of that works as intented, but whenever i try to login, it gives a 404 username not found, allthough i just registered it. Just for authentication, not for register. I have reseen all of the videos and i cannot find out why. Kind regards Keld -Denmark
@letsprogram30
@letsprogram30 Год назад
Sure connect with me on Instagram let’s chat there
@PratimaWaman
@PratimaWaman 3 месяца назад
getting 400 error while creating jwttoken on backend
@letsprogram30
@letsprogram30 3 месяца назад
Check for property, make the unused model as string.Empty
@kvkarthik1244
@kvkarthik1244 Год назад
dear bro, I try from part 1 to part 6. but I am unable to work on the token-generating "System.ArgumentOutOfRangeException: IDX10653: The encryption algorithm 'System.String' requires a key size of at least 'System.Int32' bits.". please tell me
@letsprogram30
@letsprogram30 Год назад
You should have a big secret key, use atleast 30-40 characters
@kvkarthik1244
@kvkarthik1244 Год назад
@@letsprogram30 ok bro, I will try again feedback to you. Thank you in advance
@kvkarthik1244
@kvkarthik1244 Год назад
@@letsprogram30 thank you, bro. it is working fine.🤗
@letsprogram30
@letsprogram30 Год назад
@@kvkarthik1244 you are welcome 🤗
@sharanteja3517
@sharanteja3517 Год назад
Bro waiting for part 7
@letsprogram30
@letsprogram30 Год назад
It was covered in the Sunday live stream. Will be editing the live video today and upload it
@sharanteja3517
@sharanteja3517 Год назад
@@letsprogram30ok bro
@user-vc4qm2en4w
@user-vc4qm2en4w Год назад
hi, how can i store user id in token?
@surajkumarsingh9868
@surajkumarsingh9868 9 месяцев назад
new Claim(ClaimTypes.NameIdentifier, user.Id.ToString())
@dilipvenkatesh
@dilipvenkatesh Год назад
how to get the password if user forgot the password
@BiaoTV
@BiaoTV Год назад
Do you have a link for the source code? Cheers
@letsprogram30
@letsprogram30 Год назад
Bro you will get it in the last part of the video. Meanwhile you can go through each part to try your own version 😉
@bilalakkari7181
@bilalakkari7181 Год назад
How much videos does this part contain ?
@letsprogram30
@letsprogram30 Год назад
Which JWT ? Or the entire auth series?
@bilalakkari7181
@bilalakkari7181 Год назад
@@letsprogram30 intire series ..
@letsprogram30
@letsprogram30 Год назад
@@bilalakkari7181 total 9
Далее
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 18 млн
Wife habit 😂 #shorts
00:16
Просмотров 58 млн
Coding Short: Using Bearer Tokens in .NET 8 Identity
14:31
What’s new in Angular v18
20:08
Просмотров 118 тыс.