ASP.NET Core Custom OAuth Server (.NET 7 Minimal Apis C#)



ASP.NET Core Custom OAuth Server (.NET 7 Minimal Apis C#)

ASP.NET Core Custom OAuth Server (.NET 7 Minimal Apis C#)

ASP.NET Core custom oauth server tutorial with asp.net core c# minimal api custom oauth server example, working with .net 7, .net 6 and .net 5. Turn your API in to an OAuth Server with the ability to create jwt tokens, allowing for extensions to your service.

📃 Source Code https://www.patreon.com/raw_coding
⏭ ASP.NET Core Refresh Tokens https://youtu.be/EC69dEspO64
📀 Authentication and Authorization Playlist https://youtube.com/playlist?list=PLOeFnOV9YBa4yaz-uIi5T4ZW3QQGHJQXi
⏮ ASP.NET Core OAuth Authorization https://youtu.be/0uSwPdYOm9k

🧐 oauth2.1 rfc: https://datatracker.ietf.org/doc/html/draft-parecki-oauth-v2-1
🧐 OAuth Video: https://youtu.be/ikS1gdZQXrc
🧐 JWT Video: https://youtu.be/8FvN5bhVYxY

🕰 Timestamps
00:00 Introduction
02:38 Auth code flow recap
03:08 Dev Keys
03:24 Authorization Endpoint
05:14 Authorization Endpoint Request
06:23 PKCE recap
07:43 Authorization Endpoint Response
08:25 Authorization Code
11:08 Testing Authorization Endpoint
14:08 Token Endpoint Base
15:03 Grant Type
15:40 Token Endpoint Request
17:02 Authorization Endpoint Response
17:40 Creating JWT
19:16 Token Endpoint Extension
19:52 Code Verifier & Code Challenge
21:00 Testing Token Endpoint
21:54 Code Challenge Creation Logic
23:24 Code Verifier Validation
27:23 Mapping Claims
30:16 Validation

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

Shop 🛒 https://shop.raw-coding.dev
Twitch 🎥 https://www.twitch.tv/raw_coding
Discord 💬 https://discord.gg/Qp6hdq3
Github 🏛️ https://github.com/T0shik
Twitter 📣 https://twitter.com/anton_t0shik
Donate 💸 https://streamelements.com/raw_coding/tip

#aspnetcore #authentication #oauth2

Comments are closed.