mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
fix: reinstate signup
This commit is contained in:
1 parent
200b9fa8ed
commit
01f661533b
1 file changed
+12
@@ -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
|
||||
|
||||
Reference in new issue
Block a user