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.
| Field | Details |
|---|---|
| Task code | MRA-23 |
| Phase | P1 — V1 build & integration |
| Product scope | V1 |
| Status | Planned |
| Start | Mon 28 Dec 2026 |
| Due | Tue 29 Dec 2026 |
| Responsible | Imad — Mobile developer (Flutter) |
| Co-responsible | — |
| Effort | 1 person-day(s) planned · 2 from scratch · size S |
| Area · app | Reseller app · mobile |
| Depends on | SRV-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
| # | Subtask | Owner |
|---|---|---|
| 1 | Regenerate hoco_api | Imad |
| 2 | RA-07: Téléphone ou e-mail, and the code sign-in through RA-04 | Imad |
| 3 | RA-35: login email | Imad |
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
| Requirement | Title | Release |
|---|---|---|
| AUTH-04 | Reseller sign-in (phone or email + password, or a one-time code) and password reset by OTP | V1 |
Screens
API surface
| Endpoint group | Operations |
|---|---|
| Authentication & sessions | 14 |
| Me, devices, app config & reference data | 9 |
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.
MRA-22 — Reseller app code screen for WhatsApp
RA-04 words itself from the channel of auth.otp.send and offers the SMS option.
LCH-03B — Pilot (2 weeks) — mobile support & hotfixes (Imad)
Two calendar weeks on call for pilot users: crash/ANR triage, hotfix releases on the closed track, field visits with delegates when needed.