mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Update signUp with phone
Register user with phone using `signIn` results in an `Invalid Credentials` error. Update the documentation to make use of the `signUp` option when registering user with their phone number.
This commit is contained in:
1 parent
0df85f6ccb
commit
a2acd87622
1 file changed
+1
-1
@@ -282,7 +282,7 @@ pages:
|
||||
Supabase supports Phone Auth. After a user has verified their number, they can use the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method.
|
||||
js: |
|
||||
```js
|
||||
const { user, session, error } = await supabase.auth.signIn({
|
||||
const { user, session, error } = await supabase.auth.signUp({
|
||||
phone: '+13334445555',
|
||||
password: 'some-password',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user