fix: reinstate signup

This commit is contained in:
joel@joellee.org committed 2023-04-07 00:54:36 +08:00
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