You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article explains how to configure an ASP.NET Core Blazor Web App with QR code generation for TOTP authenticator apps.
14
+
This article explains how to configure an ASP.NET Core Blazor Web App with QR code generation for Time-based One-time Password Algorithm (TOTP) authenticator apps.
15
15
16
-
For an introduction to two-factor authentication (2FA) with authenticator apps using a Time-based One-time Password Algorithm (TOTP), see <xref:security/authentication/identity-enable-qrcodes>.
16
+
For an introduction to two-factor authentication (2FA) using a TOTP authenticator app, see <xref:security/authentication/identity-enable-qrcodes>.
17
17
18
18
> [!WARNING]
19
-
> An ASP.NET Core TOTP code should be kept secret because it can be used to authenticate successfully multiple times before it expires.
19
+
> TOTP codes should be kept secret because it can be used to authenticate successfully multiple times before it expires.
20
20
21
21
## Scaffold the Enable Authenticator component into the app
22
22
@@ -33,11 +33,11 @@ For more information, see <xref:security/authentication/scaffold-identity>. For
33
33
34
34
## Adding QR codes to the 2FA configuration page
35
35
36
-
The QR code used by 2FA authenticator apps to configure the app to creates TOTP codes must be generated by a QR code library.
36
+
QR codes for use by TOTP authenticator apps must be generated by a QR code library.
37
37
38
-
The guidance in this article uses [qr-creator](https://github.com/nimiq/qr-creator), but you can use any general QR code generation library.
38
+
The guidance in this article uses [`nimiq/qr-creator`](https://github.com/nimiq/qr-creator), but you can use any general QR code generation library.
39
39
40
-
Download the [`qr-creator.min.js`](https://cdn.jsdelivr.net/npm/qr-creator/dist/qr-creator.min.js) library to the solution's server project. The library has no dependencies. If you intend to use the library to generate other QR codes elsewhere in the app for your own purposes, there's also a module version of the library available from the maintainer.
40
+
Download the [`qr-creator.min.js`](https://cdn.jsdelivr.net/npm/qr-creator/dist/qr-creator.min.js) library to the solution's server project. The library has no dependencies. If you intend to use the library to generate other QR codes elsewhere in the app for your own purposes, there's also a module version of the library available from the maintainer (see the [`nimiq/qr-creator`](https://github.com/nimiq/qr-creator) GitHub repository for details).
41
41
42
42
In the `App` component (`Components/App.razor`), place a library script reference after [Blazor's `<script>` tag](xref:blazor/project-structure#location-of-the-blazor-script):
0 commit comments