Skip to main content
The mobile sign-in flow (apps/mobile/lib/features/auth) uses the Sorbet design: core/ui components, SorbetTokens colours, and the token-coloured illustration scenes in lib/core/ui/kit/illustration. This page covers what those screens show. Auth semantics are unchanged: Turnstile gating, OTP and password cooldowns, required MFA, native Google and Apple sign-in, the OAuth callback allowlist and add-account restore all behave as before.

Decisions

Regression coverage

  • test/features/auth/view/login_page_test.dart: Apple only on iOS, the footer without an email-consent clause, provider buttons disabled while a sign-in runs.
  • test/features/auth/view/auth_small_screen_test.dart: Continue and Verify stay on screen and at least 44px tall at 320x568 with 2x text, and Verify stays above the keyboard.
  • test/features/auth/widgets/security_check_dialog_test.dart: the modal and inline security cards never dim the page.
  • test/features/shell/view/account_switcher_sheet_test.dart: active check, expired row action, switching spinner.
  • test/features/auth/view/auth_design_render_test.dart: DesignRender PNGs for login, OTP, two-step, security check and the account switcher (phone and tablet, light and dark, English and Vietnamese on phones) when DESIGN_RENDER_DIR is set.