HOCO B2B
Team tasksImad

MRA-23 — Reseller app sign-in options and login email

RA-07 takes a phone or an email and offers a code; RA-35 confirms a login email.

FieldDetails
Task codeMRA-23
PhaseP1 — V1 build & integration
Product scopeV1
StatusPlanned
StartMon 28 Dec 2026
DueTue 29 Dec 2026
ResponsibleImad — Mobile developer (Flutter)
Co-responsible—
Effort1 person-day(s) planned · 2 from scratch · size S
Area · appReseller app · mobile
Depends onSRV-52, MRA-22
Unblocks—
Milestones—

Summary

RA-07 takes a phone or an email and offers a code; RA-35 confirms a login email.

Description

Decision D-65. API: auth.login takes the email in identifier, so only the field changes. Code sign-in: auth.otp.send with purpose LOGIN and the phone, then auth.otp.verify, then POST /auth/login/code with the verificationToken: it answers the same AuthResult as auth.login, so continue as after RA-07. The first answer is the same for an unknown number. Login email on RA-35: auth.otp.send with purpose EMAIL_CHANGE and email (session required), auth.otp.verify, then me.update with email, emailVerificationToken and currentPassword. Regenerate hoco_api: OtpPurpose has two new values.

Subtasks

#SubtaskOwner
1Regenerate hoco_apiImad
2RA-07: Téléphone ou e-mail, and the code sign-in through RA-04Imad
3RA-35: login emailImad

Deliverables

  • apps/reseller/lib/src/features/auth/ updated

Acceptance criteria

  • A reseller signs in with phone, with email, and with a code
  • A reseller confirms a login email from RA-35

Requirements covered

RequirementTitleRelease
AUTH-04Reseller sign-in (phone or email + password, or a one-time code) and password reset by OTPV1

Screens

ScreenNameApp
RA-04OTP verificationRA
RA-07Sign inRA
RA-35SettingsRA

API surface

Test measures

  • Widget tests of RA-07 and of RA-04 with purpose LOGIN

KPI

  • Delivered by Tue 29 Dec 2026 within 1 person-day(s).
  • Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
  • Zero open critical defects, permission gaps or data-integrity regressions at sign-off.

Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.

On this page