Skip to content
Preview of the User authentication sequence template

Sequence diagram

User authentication sequence

Login across browser, API and database, ending with a session token.

Start blank
Category
Technical
Diagram type
Sequence diagram
Elements
4
Connectors
6

What it is for

The message order is the design. Issuing the session token before the user record has been checked would be a security bug, and drawing the order makes that obvious.

More about the sequence diagram maker

When it helps

  • Reviewing an auth flow
  • Explaining login to a new engineer
  • Documenting an integration