The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): update broken oauth examples
Brad Haydon36d6c3806d2d
diff --git a/apps/docs/pages/guides/auth.mdx b/apps/docs/pages/guides/auth.mdxindex f12e0178821..735daed3dc0 100644--- a/apps/docs/pages/guides/auth.mdx+++ b/apps/docs/pages/guides/auth.mdx@@ -100,7 +100,7 @@ const getURL = () => {};const { data, error } = await supabase.auth.signInWithOAuth({- provider: 'github'+ provider: 'github',options: {redirectTo: getURL()}diff --git a/spec/examples/examples.yml b/spec/examples/examples.ymlindex 4960cd5d206..38933c31805 100644--- a/spec/examples/examples.yml+++ b/spec/examples/examples.yml@@ -240,7 +240,7 @@ functions:js: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({- provider: 'github'+ provider: 'github',options: {redirectTo: 'https://example.com/welcome'}@@ -255,7 +255,7 @@ functions:js: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({- provider: 'github'+ provider: 'github',options: {scopes: 'repo gist notifications'}diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.ymlindex a498046b33c..144d9b079b0 100644--- a/spec/supabase_js_v2.yml+++ b/spec/supabase_js_v2.yml@@ -297,7 +297,7 @@ functions:code: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({- provider: 'github'+ provider: 'github',options: {redirectTo: 'https://example.com/welcome'}@@ -312,7 +312,7 @@ functions:code: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({- provider: 'github'+ provider: 'github',options: {scopes: 'repo gist notifications'}