Creating and Mastering JWT Authentication in ASP.NET Core – A Comprehensive Guide

preview_player
Показать описание
JWT authentication in ASP.NET Core is a key functionality for any application, because nowadays any application needs authentication and authorization. While authentication and authorization in ASP.Net Core can get a little bit complicated, everything will e easy if we understand what a JWT is and how we can create and understand JWT authentication in Asp.NET Core. In this video I got you covered with this!
#aspnetcore

Join this channel to get source code access and other perks:

Contents:
1. Intro: 00:00
2. What are tokens? 01:04
3. Creating a claims identity: 04:01
4. Creating the token descriptor: 07:06
5. Creating the JWT: 11:22
7. Conclusions: 15:39
Рекомендации по теме
Комментарии
Автор

During this video I sometimes use the words "JWT token". Please note that this construct is actually not correct as the word JWT is an acronym for "JSON Web Token". So, the word "token" after "JWT" is not a correct language use. Unfortunately, this construct got into the jargon and it was difficult even for me to avoid using this formulation during the video.

Codewrinkles
Автор

thanks, you are one of the best instructors i have ever seen, and keep moving forward as you are.

AhmedHeb
Автор

This one of the best video explains the JWT in a simple and smooth way.
Thank you very much.
Please keep on.

talkathiriify
Автор

I learned a lot on your channel, you are the best teacher and the most consistent in presenting the material. I can’t do the authentication and authorization technology in the web api in any way, I dream that you will have time and you will share your knowledge with noobs like me

katerynayavna
Автор

Excellent video. Do you have a Patreon account where we can support you and also access to the sample codes?

fchavesr
Автор

Thanks for this video. What if we have a lot of such as user and role claims? can we store in JWT? or do you suggest something else.

onedev
Автор

Per .net7 documentation SigningCredentials class has two constructors with either 3 or 4 arguments, all of them "required". TokenDescriptor instance in your example (around 10:44) has two arguments. Can you provide more info?

michaelestrinone