The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added in views section
Ollie Hallidayc7407a2e0282
diff --git a/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx b/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdxindex 1d07fb9db94..c116fd9f15e 100644--- a/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx+++ b/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx@@ -34,10 +34,7 @@ Pass `supabaseClient` from `@supabase/supabase-js` as a prop to the component.import { createClient } from '@supabase/supabase-js'import { Auth } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => <Auth supabaseClient={supabase} />```@@ -75,20 +72,29 @@ The Auth component also supports login with [offical social providers](../../autimport { createClient } from '@supabase/supabase-js'import { Auth, ThemeSupa } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => (<AuthsupabaseClient={supabase}appearance={{ theme: ThemeSupa }}- providers={['google', 'facebook', 'twitter']}+ providers={['google', 'facebook', 'twitter']}/>)```+### Supported Views++The Auth component is currently shipped with the following views:++- [Email Login](../auth-email)+- [Magic Link login](../auth-magic-link)+- [Social Login](../social-login)+- Update password+- Forgotten password++We are planning on adding more views in the future which can be viewed in the [repo](https://github.com/supabase/auth-ui)+## CustomizationThere are several ways to customize Auth UI:@@ -161,10 +167,7 @@ Auth UI themes can be overridden using variable tokens. See the [list of variablimport { createClient } from '@supabase/supabase-js'import { Auth, ThemeSupa } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => (<Auth@@ -247,10 +250,7 @@ You can use custom CSS classes for the following elements:import { createClient } from '@supabase/supabase-js'import { Auth } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => (<Auth@@ -275,10 +275,7 @@ You can use custom CSS inline styles for the following elements:import { createClient } from '@supabase/supabase-js'import { Auth } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => (<Auth@@ -302,10 +299,7 @@ You can use custom labels with `localization.variables`. See the [list of labelsimport { createClient } from '@supabase/supabase-js'import { Auth } from '@supabase/auth-ui-react'-const supabase = createClient(- '<INSERT PROJECT URL>',- '<INSERT PROJECT ANON API KEY>'-)+const supabase = createClient('<INSERT PROJECT URL>', '<INSERT PROJECT ANON API KEY>')const App = () => (<Auth