ChatDiagram
Sequence Diagram · Sequence

Login flow with an alt fragment — Sequence Diagram

An authentication handshake across an actor, a Jacobson control object, and a database lifeline — synchronous calls open activation bars, a dashed reply returns the row, and an alt combined fragment splits the valid/invalid branches. A note records the session-cookie side effect.

Type UML sequence diagramStandard OMG UML 2.5.1 §17 (Interactions)Engine schematex-sequenceUpdated 5/27/2026
Login flow with an alt fragment
Drawing preview
The request

“Create a sequence diagram where a user submits credentials to a web app, the web app asks an auth service to check a database, and the user receives either a token or an error.”

Then tryAdd a password-reset path.Add a rate-limit response after repeated failures.
More like this

Other examples in this family.

Browse all sequence diagram templates →