Войти
  • 38603Просмотров
  • 3 года назадОпубликованоRaw Coding

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

Core custom oauth server tutorial with 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. Patreon 🤝 Courses 📚 Shop 🛒 Discord 💬 Twitter 📣 Twitch 🎥 ⏭ Console App Authentication 📀 Authentication and Authorization Playlist ⏮ Core OAuth Authorization 🧐 oauth2.1 rfc: 🧐 OAuth Video: 🧐 JWT Video: 🕰 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 #aspnetcore #authentication #oauth2