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



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

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

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 🤝 https://www.patreon.com/raw_coding
Courses 📚 https://learning.raw-coding.dev
Shop 🛒 https://shop.raw-coding.dev

Discord 💬 https://discord.gg/xgNS26k
Twitter 📣 https://twitter.com/anton_t0shik
Twitch 🎥 https://www.twitch.tv/raw_coding

⏭ ASP.NET Core OAuth Server https://youtu.be/EBVKlm0wyTE
📀 Authentication and Authorization Playlist https://youtube.com/playlist?list=PLOeFnOV9YBa4yaz-uIi5T4ZW3QQGHJQXi
⏮ ASP.NET Core External Authentication https://youtu.be/PUXpfr1LzPE

🕰 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

Comments are closed.