mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
docs(auth): fix keycloak scopes for js client v2
This commit is contained in:
1 file changed
+6
-4
@@ -65,10 +65,12 @@ When your user signs in, call [signInWithOAuth()](/docs/reference/javascript/aut
|
||||
|
||||
```js
|
||||
async function signInWithKeycloak() {
|
||||
const { data, error } = await supabase.auth.signInWithOAuth(
|
||||
{provider: 'keycloak'},
|
||||
{scopes: 'openid'},
|
||||
)
|
||||
const { data, error } = await supabase.auth.signInWithOAuth({
|
||||
provider: 'keycloak',
|
||||
options: {
|
||||
scopes: 'openid',
|
||||
},
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user