Stytch SMS OTP Authentication uses Stytch’s SMS OTP service to authenticate users through mobile phone verification. This method sends a one-time password (OTP) to your phone number, which you then use to verify your identity and mint a PKP.
/stytch/email/send-otp
and
/stytch/email/verify-otp
endpoints, but they are disabled by default. Simply
run your auth service at the configured URL to enable Stytch Email OTP
functionality.Send OTP to Phone
Verify OTP
Setup TOTP 2FA (Optional)
Get or Mint a PKP
Generate Auth Context