Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

refactor: remove signUp

[email protected]65b834a67ffa
diff --git a/apps/docs/pages/guides/auth/phone-login/twilio.mdx b/apps/docs/pages/guides/auth/phone-login/twilio.mdx
index 00459f99ca8..6e949e1ea1e 100644
--- a/apps/docs/pages/guides/auth/phone-login/twilio.mdx
+++ b/apps/docs/pages/guides/auth/phone-login/twilio.mdx
@@ -1,5 +1,4 @@
import Layout from '~/layouts/DefaultGuideLayout'
-import {Accordion} from 'ui'
export const meta = {
id: 'auth-twilio',
title: 'Phone Auth with Twilio',
@@ -312,11 +311,10 @@ To make use of WhatsApp OTP, please complete the following steps:
The message template submitted to Twilio must exactly match the SMS Body entered on the Supabase dashboard.
</Admonition>
-The sign up and sign in process with WhatsApp is similar to the process for SMS. The key difference
-is that there is a `whatsapp` channel parameter under `options`:
+The sign in process with WhatsApp is similar to the process for SMS. Do note the additional `whatsapp` parameter added:
```js
-const {data, error }= await supabase.auth.signInWithOtp({
+const {data, error } = await supabase.auth.signInWithOtp({
phone: '+57336567365',
options: {
channel:'whatsapp'
@@ -324,17 +322,6 @@ const {data, error }= await supabase.auth.signInWithOtp({
})
```
-```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 the `sms` type for verification
```js
// After receiving a WhatsApp OTP