The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix wrong server side auth example code
JacobLinCoolfc8468123086
diff --git a/web/spec/supabase.yml b/web/spec/supabase.ymlindex 40140f41490..d9d6124e714 100644--- a/web/spec/supabase.yml+++ b/web/spec/supabase.yml@@ -740,7 +740,7 @@ pages:isSpotlight: truejs: |```js- const { user, error } = await supabase.auth.api.createUser({+ const { data: user, error } = await supabase.auth.api.createUser({name: 'Yoda'})```@@ -756,7 +756,7 @@ pages:isSpotlight: truejs: |```js- const { user, error } = await supabase.auth.api.deleteUser(+ const { data: user, error } = await supabase.auth.api.deleteUser('715ed5db-f090-4b8c-a067-640ecee36aa0','YOUR_SERVICE_ROLE_KEY')@@ -773,7 +773,7 @@ pages:isSpotlight: falsejs: |```js- const { user, error } = await supabase.auth+ const { data: user, error } = await supabase.auth.api.inviteUserByEmail('[email protected]')```@@ -789,7 +789,7 @@ pages:isSpotlight: falsejs: |```js- const { user, error } = await supabase.auth+ const { data: user, error } = await supabase.auth.api.sendMobileOTP('12345879')```@@ -805,7 +805,7 @@ pages:isSpotlight: falsejs: |```js- const { user, error } = await supabase.auth+ const { data: user, error } = await supabase.auth.api.resetPasswordForEmail('[email protected]')```@@ -821,7 +821,7 @@ pages:isSpotlight: falsejs: |```js- const { user, error } = await supabase.auth.api.generateLink({+ const { data: user, error } = await supabase.auth.api.generateLink({type: 'invite',email: '[email protected]'})