Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

added social providers section for auth ui

Ollie Hallidayc5201cbdd8f7
diff --git a/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx b/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx
index 2a7814999e3..33029010a2c 100644
--- a/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx
+++ b/apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx
@@ -59,6 +59,25 @@ const App = () => (
)
```
+### Social Providers
+
+The Auth component also supports login with [offical social providers](../../auth#providers).
+
+```js lines=10 title=/src/index.js
+import { 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 App = () => (
+ <Auth
+ supabaseClient={supabase}
+ appearance={{ theme: ThemeSupa }}
+ providers={['google', 'facebook', 'twitter']}
+ />
+)
+```
+
## Customization
There are several ways to customize Auth UI: