Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

✨ Specify scope, or fallback to sensible

Alicia Sykes439c73c89f1c
diff --git a/src/utils/OidcAuth.js b/src/utils/OidcAuth.js
index 4d6b6e03..5d438404 100644
--- a/src/utils/OidcAuth.js
+++ b/src/utils/OidcAuth.js
@@ -20,7 +20,7 @@ class OidcAuth {
client_id: clientId,
redirect_uri: `${window.location.origin}`,
response_type: 'code',
- scope,
+ scope: scope || 'openid profile email roles groups',
response_mode: 'query',
filterProtocolClaims: true,
};