Skip to content
masterclass Buddy

Supabase · Method

auth.signInWithOtp

Starts a passwordless Supabase sign-in with an email address or phone number. It sends an email magic link or OTP, or a phone OTP, and can create a user when none exists.

Last updated

Syntax

supabase.auth.signInWithOtp(credentials)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • resend
  • verifyOtp
  • resetPasswordForEmail
  • signInWithOAuth
  • onAuthStateChange

Source: JavaScript API Reference | Supabase Docs. Checked 2026-11-03.