Components in this architecture diagram
- Forgot password clicked
- Enter email
- Rate limit exceeded?
- Show generic message & delay
- Account exists?
- Show same generic message
- Generate single-use token, 15 min expiry
- Store hashed token
- Email reset link
- User opens link
- Token valid & unexpired?
- Link expired: start again
- Enter new password
- Meets policy & not breached?
- Hash & save password
- Invalidate token
- Revoke all existing sessions
- Notify user by email
- Sign in with new password
How to use this architecture diagram template
- Click Open in the editor. The architecture diagram opens on a new page in FlowDiagram — nothing is uploaded and there is no sign-up.
- Rename, add or delete shapes and drag them where you want; connectors stay attached as things move.
- Drop in vendor logos from the library — 1,160 of them, including every AWS, Azure and Google Cloud service icon — or restyle it with the colour and theme controls.
- Prefer text? Edit the Mermaid source below and paste it in through ☰ → Import diagram (see the Mermaid editor); it imports as an editable diagram.
- Export to PNG, SVG or PDF, or press Ctrl+L for a link that carries the whole diagram.
Mermaid source
The whole template is the text below. Paste it into FlowDiagram, keep it in Git next to the code it describes, or hand it to an AI assistant to extend.
flowchart TD
A((Forgot password clicked)) --> B[Enter email]
B --> C{Rate limit exceeded?}
C -->|Yes| D[Show generic message & delay]
C -->|No| E{Account exists?}
E -->|No| F[Show same generic message]
E -->|Yes| G[Generate single-use token, 15 min expiry]
G --> H[(Store hashed token)]
H --> I[Email reset link]
I --> F
F --> J[User opens link]
J --> K{Token valid & unexpired?}
K -->|No| L((Link expired: start again))
K -->|Yes| M[Enter new password]
M --> N{Meets policy & not breached?}
N -->|No| M
N -->|Yes| O[Hash & save password]
O --> P[Invalidate token]
P --> Q[Revoke all existing sessions]
Q --> R[Notify user by email]
R --> S((Sign in with new password))
Related: System architecture diagram tool · Mermaid editor · All security & identity templates · All 521 templates