.NET 6 API Authentication With JWT (JSON Web Tokens) | User Registration, Login, And Creating JWT

preview_player
Показать описание
.NET 6 API Authentication With JWT (JSON Web Tokens)
How To Create JWT C# .Net 6

To understand how to add JWT to a API first we need to understand what they are so we can use them correctly. I am then going to show you guys the best way to add json web tokens to a .net 6 api. I am going to start from creating users for your application to then showing you how to log those users in. Once we have a logged in user we then create their own json web token for them which they can then use to access whatever endpoints they need on the API.

#dotnet #jwt #Dotnet6APIAuthenticationWithJWT

TimeStamps
--------------------------------------
00:00 Intro
00:40 What Is A JSON Web Token?
02:22 Creating Your API Project
03:17 Creating The Models
06:32 Creating Your Fake Data Endpoint
07:55 Creating The Register Users Method
11:10 Create The Login Method
14:20 How To Create The JSON Web Token
23:50 Testing The API
Рекомендации по теме
Комментарии
Автор

Hope you guys found this video helpful! link to the Github repo in the description and don't forget to drop a LIKE on the video!

IsraelQuiroz
Автор

Thanks Quiroz, it helped me in learning JWT.

NaikIsKing
Автор

Hi Israel! Excellent video, thank you very much for your work! It is really helpful:)
I just saw the playlist. This is exactly what I was looking for, so much useful information.

LysAdrian
Автор

Great work!!, It was what I exactly need for my project . Thank you so much

ehasnsaffai
Автор

Thank you! Very informative for a beginners like me.

young-hfvi
Автор

Hope you will do more things with microsoft azure in the future! (or other cloud prodivders) ;)

julianlumetsberger
Автор

Nice Tutorial. Could you please integrate this with Angular 14 app, so that we can see how to add the token to the request from the front end app and how it will be authenticated and respond to the request.

davidmukoro
Автор

bro i need you to tell me how to i can do this with SQL database and also remove the unessecary part like the Authorization role stuff....

zerohero
Автор

Isreal can you guide me plz, i done the project exactly as you show in these videos, but I still get this error: net::ERR_BLOCKED_BY_CLIENT

ehasnsaffai
visit shbcf.ru