✨ Specify scope, or fallback to sensible
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user