Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

ASP.NET Core External Authentication - OAuth, .NET 7 Minimal APIs C#

Raw Coding via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement external authentication using OAuth in ASP.NET Core with this comprehensive tutorial. Explore the process of setting up GitHub external authentication, understand how OAuth is utilized for external authentication, and discover the AddOAuth functionality. Gain hands-on experience with ASP.NET Core C# minimal API external authentication examples, compatible with .NET 7, .NET 6, and .NET 5. Cover essential topics such as configuring the client, setting up callback endpoints, implementing multiple authentication schemes, handling state parameters, and delving into OAuthHandler internals. Master techniques for saving tokens, creating SignInScheme cookies, retrieving tokens from authentication properties, and adding token claims to cookies. Explore user information endpoints, claim actions, and claim mapping. Learn how to save tokens to a database and implement Facebook authentication. Enhance your understanding of ASP.NET Core authentication and authorization through this practical, step-by-step video tutorial.

Syllabus

Introduction
Configuring Client
Callback Endpoint
2nd Authentication Scheme
Return Uri
State Parameter
OAuthHandler Internals
Saving Tokens Option
SignInScheme Cookie Creation
Get Tokens from Authentication Properties
Adding Token Claims to Cookie
Calling User Information Endpoint
Claim Actions & Mapping Claims
Saving Tokens to Database
Facebook Authentication

Taught by

Raw Coding

Reviews

Start your review of ASP.NET Core External Authentication - OAuth, .NET 7 Minimal APIs C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.