Skip to content

Commit

Permalink
mention totp verification
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Mar 19, 2024
1 parent 7434c20 commit 7ad0e23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/mfa.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ HMAC SHA-1 is used to generate TOTPs. The secret key is exactly 160 bits and it

To share the secret, generate a [key URI](https://github.com/google/google-authenticator/wiki/Key-Uri-Format) and encode it into a QR code. The `secret` is base32 encoded.

You should verify that the user has correctly scanned the QR code by asking for the generated OTP.

```
otpauth://totp/example%20app:John%20Doe?secret=JBSWY3DPEHPK3PXP&issuer=Example%20App&digits=6&period=30
```
Expand Down

0 comments on commit 7ad0e23

Please sign in to comment.