For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Sends a OTP to the user's email or phone number.
signInWith(OTP) will signup the user instead. To restrict this behavior, you can set createUser to false.signUpWith(OTP) does the exact same thing as signInWith(OTP), so it doesn't matter which one you use.SITE_URL.{{ .Token }} instead of {{ .ConfirmationURL }}.The provider to use for the user's authentication, in this case `OTP`.
The redirect url to use. If you don't specify this, the platform specific will be used, like deeplinks on android.
The configuration for signing in with `OTP`.
supabase.auth.signInWith(OTP) {
email = "example@email.com"
}
supabase.auth.signInWith(OTP) {
phone = "+4912345679"
}
supabase.auth.signInWith(OTP) {
phone = "+4912345679"
channel = Phone.Channel.WHATSAPP
}