Skip to content

Commit b4b1ff6

Browse files
committed
edits
1 parent b587eec commit b4b1ff6

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

aspnetcore/security/authentication/identity-enable-qrcodes.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: wadepickett
55
description: Discover how to enable QR code generation for time-based one-time password (TOTP) authenticator apps that work with ASP.NET Core two-factor authentication.
66
monikerRange: '>= aspnetcore-2.1'
77
ms.author: wpickett
8-
ms.date: 05/14/2026
8+
ms.date: 05/15/2026
99
ms.reviewer: wpickett
1010
uid: security/authentication/identity-enable-qrcodes
1111

@@ -19,8 +19,17 @@ ASP.NET Core includes support for authenticator applications for user authentica
1919
> [!IMPORTANT]
2020
> Keep the ASP.NET Core TOTP code secret. The user can enter the code multiple times and authenticate successfully before it expires.
2121
22+
:::moniker range=">= aspnetcore-8.0"
23+
2224
The ASP.NET Core web app templates support authenticators, but they don't provide support for QR code generation. QR code generators make it easier to set up 2FA. This article provides guidance for Razor Pages and MVC apps on how to add [QR code](https://wikipedia.org/wiki/QR_code) generation to the 2FA configuration page.
2325

26+
:::moniker-end
27+
:::moniker range="< aspnetcore-8.0"
28+
29+
The ASP.NET Core web app templates support authenticators but don't provide support for QR code generation. QR code generators make it easier to set up 2FA. This article guides you through adding [QR code](https://wikipedia.org/wiki/QR_code) generation to the 2FA configuration page.
30+
31+
:::moniker-end
32+
2433
Two-factor authentication doesn't happen by using an external authentication provider, such as [Google](xref:security/authentication/google-logins) or [Facebook](xref:security/authentication/facebook-logins). External sign ins are protected by whatever mechanism the external authentication provider supports. For example, the [Microsoft](xref:security/authentication/microsoft-logins) authentication provider requires a hardware key or another 2FA approach. When the default templates require 2FA for both the web app and the external authentication provider, users need to satisfy two 2FA approaches. Requiring two 2FA approaches deviates from established security practices, which typically rely on a single, strong 2FA method for authentication.
2534

2635
If you're working with Blazor in ASP.NET Core 8.0 or later, you can find similar guidance in the following articles:

aspnetcore/security/authorization/iauthorizationpolicyprovider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: mjrousos
44
description: Learn how to use a custom IAuthorizationPolicyProvider in an ASP.NET Core app to dynamically generate authorization policies.
55
ms.author: wpickett
66
ms.custom: mvc
7-
ms.date: 05/14/2026
7+
ms.date: 05/15/2026
88
uid: security/authorization/iauthorizationpolicyprovider
99

1010
# customer intent: As an ASP.NET developer, I want to use a custom IAuthorizationPolicyProvider in my ASP.NET Core app, so I can dynamically generate authorization policies.

aspnetcore/security/authorization/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Introduction to authorization in ASP.NET Core
33
author: wadepickett
44
description: Learn the basics of authorization and how authorization works in ASP.NET Core apps.
55
ms.author: wpickett
6-
ms.date: 05/14/2026
6+
ms.date: 05/15/2026
77
uid: security/authorization/introduction
88

99
# customer intent: As an ASP.NET developer, I want to learn about authorization in ASP.NET Core, so I can use authorization in my apps.

aspnetcore/security/data-protection/consumer-apis/password-hashing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Hash passwords in ASP.NET Core
33
author: wadepickett
44
description: Learn how to hash passwords using the ASP.NET Core Data Protection APIs.
55
ms.author: wpickett
6-
ms.date: 05/14/2026
6+
ms.date: 05/15/2026
77
uid: security/data-protection/consumer-apis/password-hashing
88

99
# customer intent: As an ASP.NET developer, I want to use the Data Protection APIs, so I can hash passwords in my ASP.NET Core apps.

0 commit comments

Comments
 (0)