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

Published: 01 January 1970
on channel: Raw Coding
23,192
338

ASP.NET Core oauth authorization tutorial with asp.net core c# minimal api oauth example, working with .net 7, .net 6 and .net 5. Authorize your users to access external api's using oauth (youtube example)

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 OAuth Server    • ASP.NET Core Custom OAuth Server (.NE...  
📀 Authentication and Authorization Playlist    • ASP.NET Core Authentication and Autho...  
⏮ ASP.NET Core External Authentication    • ASP.NET Core External Authentication ...  

🕰 Timestamps
00:00 Introduction
00:33 Cookie Authentication
01:53 Youtube Client Setup
03:12 Call to Youtube Endpoint
05:54 Authorization Policy for Integration Endpoints
07:25 OAuth Config Setup
10:14 Redirect to OAuth flow
13:20 Scopes
14:12 Enhancing the sign in session
16:14 Loading specific authentication session
18:33 Adding claims to cookie
23:58 Consuming the token
26:33 ClaimsTransformation for token loading

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

#aspnetcore #authentication #oauth