Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Master Agentic AI, GANs, Fine-Tuning & LLM Apps
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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