mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 23:54:24 +02:00
✨ Specify scope, or fallback to sensible
This commit is contained in:
parent
ce89f1dd9d
commit
439c73c89f
@ -20,7 +20,7 @@ class OidcAuth {
|
|||||||
client_id: clientId,
|
client_id: clientId,
|
||||||
redirect_uri: `${window.location.origin}`,
|
redirect_uri: `${window.location.origin}`,
|
||||||
response_type: 'code',
|
response_type: 'code',
|
||||||
scope,
|
scope: scope || 'openid profile email roles groups',
|
||||||
response_mode: 'query',
|
response_mode: 'query',
|
||||||
filterProtocolClaims: true,
|
filterProtocolClaims: true,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user