Overview
Learn to build a custom OAuth server using ASP.NET Core, .NET 7, and C# Minimal APIs in this comprehensive tutorial. Explore the implementation of authorization code flow, PKCE, JWT token creation, and endpoint development. Gain hands-on experience in turning your API into a fully functional OAuth server, with practical demonstrations of authorization and token endpoints, code challenge creation, and claim mapping. Suitable for .NET 5, 6, and 7 developers looking to enhance their authentication and authorization skills.
Syllabus
Introduction
Auth code flow recap
Dev Keys
Authorization Endpoint
Authorization Endpoint Request
PKCE recap
Authorization Endpoint Response
Authorization Code
Testing Authorization Endpoint
Token Endpoint Base
Grant Type
Token Endpoint Request
Authorization Endpoint Response
Creating JWT
Token Endpoint Extension
Code Verifier & Code Challenge
Testing Token Endpoint
Code Challenge Creation Logic
Code Verifier Validation
Mapping Claims
Validation
Taught by
Raw Coding