What the person is doing
A user has submitted an account identifier, password, passkey assertion, one-time code, SSO return, or other authenticator output.
Application · lesson 10 of 23 · Task And Workflow Patterns
Underlying principle: A workflow joins actions across time, people, and systems. Each step gives the person enough context to continue, review, pause, or recover.
Model login as a verification lifecycle with safe pending, success, failure, retry, throttling, lockout, unlock, support, and audit states; use neutral messages, policy-accurate attempt and wait-time feedback, password-manager support, and recovery routes that let legitimate users continue safely.
A workflow joins actions across time, people, and systems. Each step gives the person enough context to continue, review, pause, or recover.
A user has submitted an account identifier, password, passkey assertion, one-time code, SSO return, or other authenticator output.
Model login as a verification lifecycle with safe pending, success, failure, retry, throttling, lockout, unlock, support, and audit states; use neutral messages, policy-accurate attempt and wait-time feedback, password-manager support, and recovery routes that let legitimate users continue safely.
Ready-to-submit login state with chosen identifier and authenticator route.
Which exact login outcomes can the server return, and which are safe to distinguish in the UI?
Submitting credentials enters one clear verifying state and prevents duplicate submissions until the login result returns.
A user has submitted an account identifier, password, passkey assertion, one-time code, SSO return, or other authenticator output.
Open the working example, try its controls, and compare the behavior against the decision guidance.
A user has submitted an account identifier, password, passkey assertion, one-time code, SSO return, or other authenticator output.
Model login as a verification lifecycle with safe pending, success, failure, retry, throttling, lockout, unlock, support, and audit states; use neutral messages, policy-accurate attempt and wait-time feedback, password-manager support, and recovery routes that let legitimate users continue safely.
Ready-to-submit login state with chosen identifier and authenticator route.
Account enumeration through differentiated login outcomes.
Keep retry, recovery, unlock, support, and accessible challenge alternatives reachable by keyboard.
OWASP Cheat Sheet Series - checked
OWASP supports login throttling, account lockout policy factors, exponential lockout, CAPTCHA cautions, and monitoring.
OWASP Web Security Testing Guide - checked
OWASP WSTG supports testing lockout thresholds, unlock duration, self-service unlock, and administrator unlock paths.
National Institute of Standards and Technology - checked
NIST supports rate limiting, retry delay, bot detection, authenticator disabling, successful-login reset, and user feedback on wait time.
OWASP Cheat Sheet Series - checked
OWASP supports generic authentication responses to avoid account enumeration.
MDN Web Docs - checked
MDN supports existing-password input behavior that affects failed-login recovery and secret protection.
Source trail checked: