auth.sendSmsCode
Send a 6-digit sign-in code by SMS.
auth.sendSmsCode(phone) → { verificationId }
Start the SMS-code flow. Returns a verificationId to pass to verifySmsCode.
Parameters
phone
string
RequiredE.164 phone number, e.g. +15551234567.
Usage
const { verificationId } = await auth.sendSmsCode('+15551234567');