Skip to content

Sequence · Connect Gmail (OAuth)

sequenceDiagram
  autonumber
  actor U as User
  participant D as Dashboard
  participant B as API · backend
  participant G as Google
  participant P as Prontera · vault
  U->>D: click Connect Gmail
  D->>B: start OAuth
  B-->>U: redirect to Google consent
  U->>G: grant scopes
  G-->>B: callback with auth code
  B->>P: exchange code, store tokens (client-mark)
  P-->>B: stored (alias)
  B-->>D: connected
  D-->>U: Gmail connected badge