mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
Update auth-ui.mdx
Included queryParams in the docs, with an example for Google social login, as this is the same example also used elsewhere.
This commit is contained in:
1 file changed
+16
@@ -79,6 +79,22 @@ const App = () => (
|
||||
)
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
Options are available within auth-ui via 'queryParams':
|
||||
|
||||
```<Auth
|
||||
supabaseClient={supabase}
|
||||
providers={['google']}
|
||||
queryParams={{
|
||||
access_type: 'offline',
|
||||
prompt: 'consent',
|
||||
hd: 'domain.com'
|
||||
}}
|
||||
onlyThirdPartyProviders={true}
|
||||
/>
|
||||
```
|
||||
|
||||
### Supported Views
|
||||
|
||||
The Auth component is currently shipped with the following views:
|
||||
|
||||
Reference in new issue
Block a user