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:
Mike authored and GitHub committed 2023-05-29 22:10:57 +01:00
1 parent 2131a400de
commit ea7394ea36
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: