Skip to content

Commit 95a7358

Browse files
authored
Merge pull request #36820 from dotnet/main
Merge to Live
2 parents 31995f1 + 69ae307 commit 95a7358

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

aspnetcore/security/authentication/azure-ad-b2c.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: guardrex
44
description: Discover how to set up Azure Active Directory B2C authentication with ASP.NET Core.
55
ms.author: wpickett
66
ms.custom: "devx-track-csharp, mvc"
7-
ms.date: 01/22/2026
7+
ms.date: 02/27/2026
88
uid: security/authentication/azure-ad-b2c
99
---
1010
# Cloud authentication with Azure Active Directory B2C in ASP.NET Core
@@ -16,7 +16,7 @@ By [Damien Bod](https://github.com/damienbod)
1616
[Azure Active Directory B2C](/azure/active-directory-b2c/active-directory-b2c-overview) (Azure AD B2C) is a cloud identity management solution for web and mobile apps. The service provides authentication for apps hosted in the cloud and on-premises. Authentication types include individual accounts, social network accounts, and federated enterprise accounts. Additionally, Azure AD B2C can provide multi-factor authentication with minimal configuration.
1717

1818
> [!TIP]
19-
> Microsoft Entra ID, Microsoft Entra External ID and Azure AD B2C are separate product offerings. An Entra ID tenant generally represents an organization, while an Azure AD B2C tenant or a Microsoft Entra External ID tenant can represent a collection of identities to be used with relying party applications. To learn more, see [Azure AD B2C: Frequently asked questions (FAQ)](/azure/active-directory-b2c/active-directory-b2c-faqs).
19+
> Microsoft Entra ID, Microsoft Entra External ID and Azure AD B2C are separate product offerings. An Entra ID tenant generally represents an organization, while an Azure AD B2C tenant or a Microsoft Entra External ID tenant can represent a collection of identities to be used with relying party applications. To learn more, see [Azure AD B2C: Frequently asked questions (FAQ)](/azure/active-directory-b2c/active-directory-b2c-faqs).
2020
2121
> [!TIP]
2222
> [Microsoft Entra External ID for customers](/azure/active-directory/external-identities/customers/overview-customers-ciam) is Microsoft’s new customer identity and access management (CIAM) solution.
@@ -68,6 +68,7 @@ In this tutorial, you'll learn how to configure an ASP.NET Core app for authenti
6868
* For **Domain**, use the domain of your Azure AD B2C tenant.
6969
* For **ClientId**, use the **Application (client) ID** from the app registration you created in your tenant.
7070
* For **Instance**, use the domain of your Azure AD B2C tenant.
71+
* For **TenantId**, use the **Tenant ID** from your Azure AD B2C tenant. In the Azure portal, search for and select **Microsoft Entra ID**. In the **Overview**, copy the **Tenant ID**.
7172
* For **SignUpSignInPolicyId**, use the user flow policy defined in the Azure B2C tenant
7273
* Use either the **ClientSecret** or the **ClientCertificates** configuration. ClientCertificates are recommended.
7374
* Leave all other values as they are.
@@ -102,7 +103,7 @@ In this tutorial, you'll learn how to configure an ASP.NET Core app for authenti
102103
103104
In the preceding code:
104105
105-
* Calls to the `AddAuthentication` and `AddMicrosoftIdentityWebApp` methods configure the app to use Open ID Connect, specifically configured for the Microsoft identity platform.
106+
* Calls to the `AddAuthentication` and `AddMicrosoftIdentityWebApp` methods configure the app to use OpenID Connect, specifically configured for the Microsoft identity platform.
106107
* `AddAuthorization` initializes ASP.NET Core authorization.
107108
* The `AddRazorPages` call configures the app so anonymous browsers can view the Index page. All other requests require authentication.
108109
* `AddMvcOptions` and `AddMicrosoftIdentityUI` add the required UI components for redirecting to/from Azure AD B2C.
@@ -116,7 +117,7 @@ In this tutorial, you'll learn how to configure an ASP.NET Core app for authenti
116117
## Run the app
117118
118119
> [!NOTE]
119-
> Use the profile which matches the Azure App registration **Redirect URIs**
120+
> Use the profile which matches the Azure App registration **Redirect URIs**.
120121
1. Run the app.
121122
122123
```dotnetcli

aspnetcore/security/authentication/index.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: Overview of ASP.NET Core Authentication
3+
ai-usage: ai-assisted
34
author: mjrousos
45
description: Learn about authentication in ASP.NET Core.
56
ms.author: tdykstra
67
ms.custom: mvc
7-
ms.date: 10/18/2022
8+
ms.date: 02/26/2026
89
uid: security/authentication/index
910
---
1011
# Overview of ASP.NET Core authentication
@@ -137,7 +138,7 @@ See the following links for differences between challenge and forbid:
137138

138139
## Authentication providers per tenant
139140

140-
ASP.NET Core doesn't have a built-in solution for multi-tenant authentication. While it's possible for customers to write one using the built-in features, we recommend customers consider [Orchard Core](https://www.orchardcore.net/), [ABP Framework](https://abp.io/), or [Finbuckle.MultiTenant](https://www.finbuckle.com/multitenant) for multi-tenant authentication.
141+
ASP.NET Core doesn't have a built-in solution for multi-tenant authentication. While it's possible for customers to write one using the built-in features, we recommend customers consider [Orchard Core](https://www.orchardcore.net/), [ABP Framework](https://abp.io/), or [Finbuckle.MultiTenant](https://www.finbuckle.com/multitenant) for multi-tenant authentication.
141142

142143
Orchard Core is:
143144

@@ -156,7 +157,6 @@ Finbuckle.MultiTenant:
156157
* Provides data isolation
157158
* Configure app behavior uniquely for each tenant
158159

159-
160160
## Additional resources
161161

162162
* <xref:security/authorization/limitingidentitybyscheme>
@@ -286,7 +286,7 @@ See the following links for differences between challenge and forbid:
286286

287287
## Authentication providers per tenant
288288

289-
ASP.NET Core doesn't have a built-in solution for multi-tenant authentication. While it's possible for customers to write one using the built-in features, we recommend customers to consider [Orchard Core](https://www.orchardcore.net/) or [ABP Framework](https://abp.io/) for multi-tenant authentication.
289+
ASP.NET Core doesn't have a built-in solution for multi-tenant authentication. While it's possible for customers to write one using the built-in features, we recommend customers consider [Orchard Core](https://www.orchardcore.net/) or [ABP Framework](https://abp.io/) for multi-tenant authentication.
290290

291291
Orchard Core is:
292292

@@ -429,16 +429,11 @@ See the following links for differences between challenge and forbid:
429429

430430
## Authentication providers per tenant
431431

432-
ASP.NET Core framework doesn't have a built-in solution for multi-tenant authentication.
433-
While it's possible for customers to write an app with multi-tenant authentication, we recommend using one of the following asp.net core application frameworks that support multi-tenant authentication:
434-
435-
### Orchard Core
432+
ASP.NET Core framework doesn't have a built-in solution for multi-tenant authentication. While it's possible for customers to write an app with multi-tenant authentication, we recommend using one of the following ASP.NET Core application frameworks that support multi-tenant authentication.
436433

437-
[Orchard Core](https://orchardcore.net/). See the [Orchard Core](https://github.com/OrchardCMS/OrchardCore) source for an example of authentication providers per tenant.
434+
[Orchard Core](https://www.orchardcore.net/) is an open-source, modular, and multi-tenant app framework built with ASP.NET Core that also provides a content management system (CMS). See the [Orchard Core](https://github.com/OrchardCMS/OrchardCore) source for an example of authentication providers per tenant.
438435

439-
### ABP Framework
440-
441-
[ABP Framework](https://abp.io/) supports various architectural patterns including modularity, microservices, domain driven design, and multi-tenancy. See [ABP Framework source on GitHub](https://github.com/abpframework/abp).
436+
[ABP Framework](https://abp.io/) supports various architectural patterns including modularity, microservices, domain-driven design, and multi-tenancy. See [ABP Framework source on GitHub](https://github.com/abpframework/abp).
442437

443438
## Additional resources
444439

0 commit comments

Comments
 (0)