Sequence Diagram
Interaction between actors and systems over time.
Rendering…
What this template contains
- Diagram type
- Sequence diagram
- Source
- 13 lines
When to use it
This editable sequence diagram follows a user, web app, REST API and database. It is an illustration of messages between components, not a complete authentication design. Read the guide: Mermaid editor online
Make it your own.
sequenceDiagram
autonumber
actor User
participant Web as Web App
participant API as REST API
participant DB as Database
User->>Web: Submit login form
Web->>API: POST /auth/login
API->>DB: SELECT user WHERE email=?
DB-->>API: user row
API-->>Web: 200 + JWT
Web-->>User: Redirect to dashboard
Note over API,DB: Password hashed with Argon2id