The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
split auth types up
Ollie Halliday12e2f200d317
diff --git a/apps/docs/components/AuthProviders.tsx b/apps/docs/components/AuthProviders.tsxindex 78a0e1206e8..82a57180a4b 100644--- a/apps/docs/components/AuthProviders.tsx+++ b/apps/docs/components/AuthProviders.tsx@@ -2,16 +2,20 @@ import providers from '../data/authProviders'import { IconPanel } from 'ui'import Link from 'next/link'-export default function AuthProviders() {+export default function AuthProviders({ type }: { type: string }) {+ const filterProviders = providers.filter((item) => item.authType === type)+return (- <div className="grid grid-cols-12 gap-10 not-prose py-8">- {providers.map((x) => (- <Link href={`${x.href}`} key={x.name} passHref>- <a className="col-span-6 lg:col-span-4 xl:col-span-3">- <IconPanel title={x.name} icon={x.logo} />- </a>- </Link>- ))}- </div>+ <>+ <div className="grid grid-cols-12 gap-10 not-prose py-8">+ {filterProviders.map((x) => (+ <Link href={`${x.href}`} key={x.name} passHref>+ <a className="col-span-6 lg:col-span-4 xl:col-span-3">+ <IconPanel title={x.name} icon={x.logo} />+ </a>+ </Link>+ ))}+ </div>+ </>)}diff --git a/apps/docs/data/authProviders.ts b/apps/docs/data/authProviders.tsindex 4de69779ec2..44958476ba6 100644--- a/apps/docs/data/authProviders.ts+++ b/apps/docs/data/authProviders.ts@@ -7,6 +7,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Azure',@@ -16,6 +17,7 @@ const authProviders = [supporter: 'TBD',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Bitbucket',@@ -25,6 +27,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Discord',@@ -34,6 +37,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Facebook',@@ -43,6 +47,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'GitHub',@@ -52,6 +57,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'GitLab',@@ -61,6 +67,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Google',@@ -70,6 +77,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Keycloak',@@ -79,6 +87,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'LinkedIn',@@ -88,6 +97,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'MessageBird',@@ -97,6 +107,7 @@ const authProviders = [supporter: 'MessageBird',platform: true,selfHosted: true,+ authType: 'phone'},{name: 'Notion',@@ -106,6 +117,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Slack',@@ -115,6 +127,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Spotify',@@ -124,6 +137,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Twitter',@@ -133,6 +147,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Twitch',@@ -142,6 +157,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Zoom',@@ -151,6 +167,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'social',},{name: 'Twilio',@@ -160,6 +177,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'phone',},{name: 'Vonage',@@ -169,6 +187,7 @@ const authProviders = [supporter: 'Supabase',platform: true,selfHosted: true,+ authType: 'phone',},]diff --git a/apps/docs/pages/guides/auth/overview.mdx b/apps/docs/pages/guides/auth/overview.mdxindex 07cbc79859f..a0b80e6f018 100644--- a/apps/docs/pages/guides/auth/overview.mdx+++ b/apps/docs/pages/guides/auth/overview.mdx@@ -44,8 +44,16 @@ You can authenticate your users in several ways:We provide a suite of Providers and login methods, as well as [Auth helpers](/docs/guides/auth/auth-helpers/).+#### Social Auth++<div className="container" style={{ padding: 0 }}>+ <AuthProviders type="social" />+</div>++#### Phone Auth+<div className="container" style={{ padding: 0 }}>- <AuthProviders />+ <AuthProviders type="phone" /></div>### Configure third-party providers