Skip to content

Commit 5a80e7e

Browse files
committed
Updates
1 parent 8dfe0bb commit 5a80e7e

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

aspnetcore/blazor/security/qrcodes-for-authenticator-apps.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,11 @@ This article explains how to configure an ASP.NET Core Blazor Web App for two-fa
1515

1616
For an introduction to 2FA with TOTP authenticator apps, see <xref:security/authentication/identity-enable-qrcodes>.
1717

18+
The guidance in this article relies upon either creating the app with **Individual Accounts** for the new app's **Authentication type** or [scaffolding Identity into an existing app](xref:security/authentication/scaffold-identity#scaffold-identity-into-a-blazor-project). For guidance on using the .NET CLI instead of Visual Studio for scaffolding Identity into an existing app, see <xref:fundamentals/tools/dotnet-aspnet-codegenerator>.
19+
1820
> [!WARNING]
1921
> TOTP codes should be kept secret because they can be used to authenticate multiple times before they expire.
2022
21-
## Scaffold the Enable Authenticator component into the app
22-
23-
Follow the guidance in <xref:security/authentication/scaffold-identity#scaffold-identity-into-a-blazor-project> to scaffold `Pages\Manage\EnableAuthenticator` into the app.
24-
25-
<!-- UPDATE 9.0 Update NOTE per followup on the issue -->
26-
27-
> [!NOTE]
28-
> Although only the `EnableAuthenticator` component is selected for scaffolding in this example, scaffolding currently adds all of the Identity components to the app. Additionally, exceptions may be thrown during the process of scaffolding into the app. If exceptions occur when database migrations occur, stop the app and restart the app on each exception. For more information, see [Scaffolding exceptions for Blazor Web App (`dotnet/Scaffolding` #2694)](https://github.com/dotnet/Scaffolding/issues/2694).
29-
30-
Be patient while migrations are executed. Depending on the speed of the system, it can take up to a minute or two for database migrations to finish.
31-
32-
For more information, see <xref:security/authentication/scaffold-identity>. For guidance on using the .NET CLI instead of Visual Studio, see <xref:fundamentals/tools/dotnet-aspnet-codegenerator>.
33-
3423
## Adding QR codes to the 2FA configuration page
3524

3625
A QR code generated by the app to set up 2FA with an TOTP authenticator app must be generated by a QR code library.

0 commit comments

Comments
 (0)