Auth
Send a phone sign-in challenge
POST
/auth/otpSends a passwordless phone sign-in challenge.
Parameters
signInWithPhoneCredentialsphonestring- The user’s phone number in international format.
attributes?JsonObject- Attributes used if a user is created.
createIfNotExists?boolean- Whether Auth may create a user.
options.emailRedirectTo?string- Redirect destination accepted by the SDK type.
options.captchaToken?string- Captcha verification token.
Returns
usernullsessionnullmessageId?string | null