Learning resourceSoftware development

active-directory-aspnetcore-webapp-openidconnect-v2

Add sign-in, API calls, and authorization to ASP.NET Core web apps.

Stars
1,439
Forks
1,003
License
MIT
Updated
Updated Jul 10, 2026

Checking live repository facts…

Project overview

This chapter-based tutorial incrementally adds Microsoft identity features to an ASP.NET Core web application. It starts with user sign-in, then covers calling Microsoft Graph or your own APIs, role and group authorization, and deployment to Azure, with complete code available for individual stages. The examples address organizational, multitenant, personal-account, and sovereign-cloud scenarios, but exclude daemon applications that call APIs using the app's own identity.

Repository facts

Primary language
C#
License
MIT
Repository updated
Jul 10, 2026
Default branch
main

Resource types

Learning resource

Use cases

Software developmentSecurity and privacy

Audience

Developers

Related projects

Browse more similar projects