Swift: Sign in a user through OTP

Examples

Sign in with email

try await supabase.auth.signInWithOTP(
  email: "example@email.com",
  redirectTo: URL(string: "my-app-scheme://")!
)

Sign in with SMS OTP

try await supabase.auth.signInWithOTP(phone: "+13334445555")