Skip to content

Commit 86881f4

Browse files
committed
updated totp pages
Signed-off-by: bidi <bidi@apidemia.com>
1 parent 1d75a07 commit 86881f4

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

docs/book/v7/security/2fa-with-totp.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,8 @@ Our implementation follows the industry standard of using an Authenticator app t
99

1010
Below is a simplified flow for the 2FA with a TOTP mechanism.
1111

12-
```mermaid
13-
sequenceDiagram
14-
participant U as 👤 User
15-
participant A as 📱 Authenticator App
16-
participant S as 🖥 Server
17-
18-
U->>S: 1. Enter username + password
19-
S->>S: 2. Verify credentials
20-
21-
S-->>U: 3. Request TOTP code
22-
23-
A->>U: 4. Display TOTP (time-based)
24-
U->>S: 5. Submit TOTP code
25-
26-
S->>S: 6. Validate (shared secret + time)
27-
28-
S-->>U: 7. ✅ Access granted
29-
```
12+
![totp-flow!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-flow.jpg)
3013

3114
## Next Steps
3215

33-
[Install 2FA with dot-totp](../configuring-2fa-with-totp.md).
16+
[Install 2FA with dot-totp](https://docs.dotkernel.org/admin-documentation/v7/tutorials/install-dot-totp/).

docs/book/v7/tutorials/install-dot-totp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There are still some code snippets in the [_misc](https://github.com/dotkernel/a
4343
Once you have `dot-totp` implemented, you can activate the feature in your admin accounts.
4444
If you navigate to your profile from the top-right image in Dotkernel Admin, you should see this box.
4545

46-
![Dotkernel Admin File Structure!](https://docs.dotkernel.org/img/admin/v7/install-totp/profile-totp-deactivated.jpg)
46+
![profile-totp-deactivated!](https://docs.dotkernel.org/img/admin/v7/install-totp/profile-totp-deactivated.jpg)
4747

4848
Simply click on 'Enable TOTP' to begin the activation process.
4949

@@ -52,7 +52,7 @@ Simply click on 'Enable TOTP' to begin the activation process.
5252
5353
> You will need to have an Authenticator app installed on your mobile device.
5454
55-
![Dotkernel Admin File Structure!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-activate-qr.jpg)
55+
![totp-activate-qr!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-activate-qr.jpg)
5656

5757
Follow the instructions on the screen:
5858

@@ -63,7 +63,7 @@ Follow the instructions on the screen:
6363
6464
The TOPT activation flow will list several recovery codes you can use if your mobile device isn't available.
6565

66-
![Dotkernel Admin File Structure!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-recovery-codes.jpg)
66+
![totp-recovery-codes!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-recovery-codes.jpg)
6767

6868
> Each recovery code is usable only once.
6969
@@ -75,7 +75,7 @@ Whenever you need to log into the account, you will start by entering your usern
7575
Since TOTP is activated, you will need to also submit the code from your Authenticator app.
7676
Alternatively, you can submit a recovery code.
7777

78-
![Dotkernel Admin File Structure!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-ask-code.jpg)
78+
![totp-ask-code!](https://docs.dotkernel.org/img/admin/v7/install-totp/totp-ask-code.jpg)
7979

8080
That's it!
8181
You are now logged in securely.

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ nav:
3535
- "Set Up CSRF": v7/how-to/csrf.md
3636
- Security:
3737
- "Basic Security": v7/security/basic-security.md
38-
- "Two Factor Authorization with Time-based One-Time Password": v7/security/2fa-with-totp.md
38+
- "Two-Factor Authentication with Time-based One-Time Password": v7/security/2fa-with-totp.md
3939
- Tutorials:
4040
- "Creating a book module using DotMaker": v7/tutorials/create-book-module-via-dot-maker.md
41-
- "Installing dot-totp": v7/tutorials/install-dot-totp.md
41+
- "Enabling Time-based One-Time Password (TOTP)": v7/tutorials/install-dot-totp.md
4242
- v6:
4343
- Introduction: v6/introduction/introduction.md
4444
- Overview:

0 commit comments

Comments
 (0)