Audience: PMs, UX, Support. Persona journeys through the identity layer. Screen-level detail marked ⚠️ VERIFY pending a live-product pass.


Journey A — New employee's first login

  1. Receives an invite / set-password email (GenerateEmailConfirmationToken / set-password flow).
  2. Clicks the link → Set Password screen (Account/View/SetPassword) → sets a password (SetPassword).
  3. Email confirmed (ConfirmEmail).
  4. Logs in (Authenticate).
  5. If the org requires 2FA: login returns TwoFactorSetupRequired → 2FA setup wizard → confirm code → in.
  6. Lands in the Employee profile — self-service only. No admin surfaces visible.

Support watch-points: expired set-password link (re-send via ResendConfirmationEmail); "email not confirmed" → NotAllowed.

Journey B — Returning user with 2FA

  1. Enters username + password (Authenticate) → status TwoFactorRequired.
  2. Enters the current authenticator code (2fa/VerifyCode).
  3. Session issued; lands in their default profile.

Failure branches: wrong code (retry), lost device (→ runbook reset), too many attempts → LockedOut.

Journey C — Admin grants a colleague access

  1. Admin opens Settings → Permissions → Add Admin.
  2. Picks the colleague, assigns HR Admin (a tier) + a custom role for a regional nuance.
  3. Saves → AspNetRolePermission rows written; the permissions claim will carry them at the colleague's next login.
  4. Colleague logs in → now sees HR surfaces; still blocked from Payroll (no grant).