feat: real phone OTP verification (Twilio) in register + onboarding #16

Merged
tanweer919 merged 1 commits from tanweer919/lynkeduppro-crm:feat/login-methods into goutamnextflow 2026-07-12 22:59:23 +00:00
Collaborator

Replaces the mock verify step (accepted any code) with real SMS OTP via Supabase/Twilio: addPhone (updateUser) sends the code, verifyPhone (verifyOtp phone_change) confirms it. Registration creates the account at the Account step so the phone attaches to a live session; onboarding gains a real phone-verify step. Email stays auto-confirmed. Needs SDK 0.2.6.

Replaces the mock verify step (accepted any code) with real SMS OTP via Supabase/Twilio: addPhone (updateUser) sends the code, verifyPhone (verifyOtp phone_change) confirms it. Registration creates the account at the Account step so the phone attaches to a live session; onboarding gains a real phone-verify step. Email stays auto-confirmed. Needs SDK 0.2.6.
tanweer919 added 1 commit 2026-07-12 22:59:20 +00:00
Replaces the mock verify step (which accepted any 6 digits) with a real SMS
OTP: addPhone() → Supabase/Twilio texts a code → verifyPhone() confirms it.

- Registration creates the auth account when leaving the Account step, so the
  phone can be attached + verified against a live Supabase session; finish()
  no longer double-registers.
- Onboarding gains a real phone-verify step (Profile → Verify → Address).
- Email is trusted without an OTP in both flows (Supabase auto-confirms on
  signup; Google verifies for onboarding), matching project config.
- Bump @abe-kap/appshell-sdk to ^0.2.6.
tanweer919 merged commit 0a4468cc54 into goutamnextflow 2026-07-12 22:59:23 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Goutam/lynkeduppro-crm#16