From 01f661533bac36de7e30dd178f32ad3e89935e4e Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Fri, 7 Apr 2023 00:54:36 +0800 Subject: [PATCH] fix: reinstate signup --- apps/docs/pages/guides/auth/phone-login/twilio.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/docs/pages/guides/auth/phone-login/twilio.mdx b/apps/docs/pages/guides/auth/phone-login/twilio.mdx index 9f2b5c3da1e..626b3aea042 100644 --- a/apps/docs/pages/guides/auth/phone-login/twilio.mdx +++ b/apps/docs/pages/guides/auth/phone-login/twilio.mdx @@ -322,6 +322,18 @@ const {data, error } = await supabase.auth.signInWithOtp({ }) ``` +You can also sign up with `whatsapp` as a channel: + +```js +const {data, error }= await supabase.auth.signUp({ + phone: '+57336567365', + password: 'testsupabasenow', + options: { + channel:'whatsapp', + } +}) +``` + There is no change in the verification process - do continue to use the `sms` type for verification ```js // After receiving a WhatsApp OTP