Skip to content

Sequence — API / auth flow template

Messages between a user, app, and auth server. Open it in the editor, replace what needs replacing, and export a typeset PDF — free, no signup, nothing uploaded.

Use this templateAll templates

Preview

Authentication Flow

How a login request flows from the user to the auth server and back.

mermaid
sequenceDiagram
  participant U as User
  participant A as App
  participant S as Auth Server
  U->>A: Login (email, password)
  A->>S: POST /token
  S-->>A: JWT
  A-->>U: Logged in

The Markdown source

# Authentication Flow

How a login request flows from the user to the auth server and back.

```mermaid
sequenceDiagram
  participant U as User
  participant A as App
  participant S as Auth Server
  U->>A: Login (email, password)
  A->>S: POST /token
  S-->>A: JWT
  A-->>U: Logged in
```

Copy it anywhere Markdown works — or open it pre-loaded in Scripto with the button above.

Ship your sequence — api / auth flow today.

One click opens this template in the editor with a live paginated preview.