Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add "sms" to EMBEDDED_WALLETS auth options - Create useSmsAuthentication hook that calls backend for init + verify, then injects credentialBundle into Turnkey iframe (same as OAuth flow) - Create SmsOtpForm overlay component for phone number + OTP code input - Wire SMS into handleSignup/handleLogin in useCreateController - Add MobileIcon to signup and auth buttons - Register SMS signer as EIP-191 with provider "sms" Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
SMS authentication is now hidden unless the "sms" feature is enabled via the local storage feature toggle system. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Claude finished @broody's task —— View job Documentation Analysis Complete
SummaryThis PR adds SMS authentication as a new user-facing authentication method. I've updated the documentation in the docs repository. Changes MadeUpdated
File Modified
Technical DetailsThe documentation follows the established pattern:
Next StepsThe documentation changes are staged in the docs repository at --- | Branch: |
Updates documentation to reflect changes made in:
feat: add SMS authentication to signup/login
Related controller PR: cartridge-gg/controller#2500
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Summary
useSmsAuthenticationhook implementing the SMS OTP flow:POST /oauth2/sms(backend) → sends OTP, returnsotpIdSmsOtpFormoverlayPOST /oauth2/sms/verify(backend) → verifies code + logs in, returnscredentialBundlecredentialBundleinto Turnkey iframe → gets walletMobileIconto signup/auth buttons"sms"Dependencies
Test plan
+19999999999, code000000🤖 Generated with Claude Code