Kotlin: Sign in a user through OTP

Sends a OTP to the user's email or phone number.

Parameters

Examples

Sign in with email

supabase.auth.signInWith(OTP) \{
    email = "example@email.com"
\}

Sign in with SMS OTP

supabase.auth.signInWith(OTP) \{
    phone = "+4912345679"
\}