In this video we will be going to be creating JSON Web Tokens, User Registration, Login and Authentication in our .NET 6 Web API.
Support me on Patreon to access the source code:
/ mohamadlawand
00:00 Intro
01:01 Designing the Login Journey
14:43 Getting the source code
18:26 Exploring the source code
19:04 Installing Nuget Packages
22:05 Understanding JWT structure
24:00 Adding JWT secure key
29:47 Adding and Configuring Authentication to Program.cs
44:36 Adding Identity Db Context
51:23 Building the DTOs
54:32 Adding Authentication Controller
1:00:00 Adding Register Action and Designing the registration journey
1:11:00 Create JWT generating function
1:27:00 Testing and bug fixes
1:34:00 Creating the Login Action
1:47:00 Adding Authentication to Controllers
Some helpful videos
.Net Middleware: • Asp.Net Core - Middleware
Dependency Injection: • Asp.Net Core - Dependency Injection - Deep...
Let us connect:
🌍 My website - https://mohamadlawand.com
📸 Instagram - / mohamadlawand087
🐦 Twitter - / moe23
♯ Github - https://github.com/mohamadlawand087
🎫 LinkedIn - / mlawand
💥 LinkTree - https://linktr.ee/mohamadlawand
Gear I use (affiliate link): https://amzn.to/3EbT8Jw
Support my work:
/ mohamadlawand
https://www.buymeacoffee.com/mohamadl...
Hire Me:
https://transactions.sendowl.com/prod...
WHO AM I:
I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at [email protected].
#WebAPI #JWT #dotnet