get-started/otp
get-started · Figma 958:22344
Liveready for devbuilt in the frontendFigma
958:22344Frontend · Frontend agent owns this
Built in
ph_auth → packages/ph_auth/lib/src/presentation/pages/get_started_page.dartEndpoints this screen calls · 2 endpoints, 1 confirmed in code · the Backend agent owns these
POST /auth/verify-otpPOST /auth/resend-otp
Acceptance criteria · drafted by Product agent
- User can enter a 6-digit OTP code; the system validates the input format before enabling the verify action.
- On verify, the app calls POST /auth/verify-otp; on success the user is navigated to account-created, and on failure an inline error is shown without clearing the input.
- User can request a new code via the resend action, which calls POST /auth/resend-otp, shows a confirmation message, and enforces a cooldown (e.g., resend disabled for 30 seconds).
- User sees the masked email/phone the code was sent to so they know where to look for the OTP.
What's on the screen
—