Swift: Sign in a user through OTP

Examples

Sign in with email

try await supabase.auth.signInWithOTP(
  email: "[email protected]",
  redirectTo: URL(string: "my-app-scheme://")!
)

Sign in with SMS OTP

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