ASP.NET Core JWT Authentication Tutorial (.NET 7 Minimal Apis C#)

Опубликовано: 25 Октябрь 2022
на канале: Raw Coding
26,965
664

ASP.NET Core JWT authentication tutorial with asp.net core c# minimal api jwt authentication example, working with .net 7, .net 6 and .net 5. Learn about json web tokens, symmetric and asymmetric keys, json web keys and key roll over.

Patreon 🤝   / raw_coding  
Courses 📚 https://learning.raw-coding.dev
Shop 🛒 https://shop.raw-coding.dev

Discord 💬   / discord  
Twitter 📣   / anton_t0shik  
Twitch 🎥   / raw_coding  

⏭ ASP.NET Core External Authentication    • ASP.NET Core External Authentication ...  
📀 Authentication and Authorization Playlist    • ASP.NET Core Authentication and Autho...  
⏮ OAuth 2.0 & 2.1 Tutorial    • OAuth 2.0 & 2.1 Explained  

🕰 Timestamps
00:00 Introduction
01:15 Creating & Loading Keys
03:40 JWT
07:13 Signing JWT
10:10 JwtBearer Internals
12:27 Public Key Resolution
18:23 Configuring JwtBearer
19:48 Using the JWT
20:08 Using Private Signing Keys
21:30 Token Validation Parameters
22:53 Claim Mapping
24:53 External Token Validation
25:27 JWK
27:48 Using JWK for validation
29:38 External Token Usage
29:57 Public Key Token Creation
30:48 Key Roll Over

👉 Try Rider
https://www.jetbrains.com/store/redeem/
RD5K9-4TXXW-KMV3G-NYWSF-3ZSTP

#aspnetcore #authentication #jwt