Skip to content

Add phone auth and OTP support#9

Merged
kacy merged 1 commit intomasterfrom
feat/phone-auth-otp
Jan 30, 2026
Merged

Add phone auth and OTP support#9
kacy merged 1 commit intomasterfrom
feat/phone-auth-otp

Conversation

@kacy
Copy link
Owner

@kacy kacy commented Jan 30, 2026

Summary

  • Add signup_phone_password, sign_in_otp, verify_otp, and resend_otp methods to the auth module
  • Add corresponding request structs (PhoneCredentials, OtpRequest, VerifyOtpRequest, ResendOtpRequest)
  • Add tests for all 4 new methods following the existing graceful-skip pattern
  • Mark 4 README checklist items as complete: phone signup, verify OTP, OTP authentication, resend OTP

Test plan

  • cargo build --lib compiles cleanly
  • cargo test — all 23 tests pass
  • Existing auth and database tests unaffected

Add phone signup, OTP sign-in, OTP verification, and OTP resend
methods to the auth module, covering 4 README checklist items.
@kacy kacy merged commit 31882ae into master Jan 30, 2026
1 check passed
kacy added a commit that referenced this pull request Jan 30, 2026
Add phone auth and OTP support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant