The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add phone sign in
Coppleb9597576091a
diff --git a/web/spec/supabase.yml b/web/spec/supabase.ymlindex 0a2740cd720..fa0e43c0eef 100644--- a/web/spec/supabase.yml+++ b/web/spec/supabase.yml@@ -471,6 +471,22 @@ pages:hideCodeBlock: truedescription: |You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method.+ - name: Sign up with Phone.+ description: |+ Supabase supports Phone Auth. After a user verified thier 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({+ phone: '+13334445555',+ password: 'some-password',+ })++ // After receiving an SMS with One Time Password.+ let { session, error } = await supabase.auth.verifyOTP({+ phone: '+13334445555',+ token: '123456',+ })+ ```auth.signIn():title: 'signIn()'@@ -507,6 +523,15 @@ pages:provider: 'github'})```+ - name: Sign in with Phone.+ description: Supabase supports Phone Auth.+ js: |+ ```js+ const { user, session, error } = await supabase.auth.signIn({+ phone: '+13334445555',+ password: 'some-password',+ })+ ```- name: Sign in with redirect.description: |Sometimes you want to control where the user is redirected to after they are logged in. Supabase supports this for