User login flowchart template
Sign-in with password validation and an optional two-factor step.
About this template
Login is the first flow most products diagram, and the first one to grow branches nobody wrote down: what happens after a wrong password, where the two-factor step fits, when the session is created. This flowchart covers those paths so product, design and engineering can agree on them before anything is built.
It is generated from eleven lines of text. Open the source in the flowchart generator to rename steps or add branches such as password reset and account lockout.
What is in the diagram
- Credentials check
- A single decision. Both failure paths loop back to the form with an error.
- Two-factor branch
- Only users who enabled it see the one-time code step.
- Session creation
- Both branches converge here, which is where you would issue a cookie or token.