From dc60469f86f2d34cf388bb48de7971c1ca5ecb7f Mon Sep 17 00:00:00 2001 From: giutrec Date: Sun, 21 Jun 2026 18:46:24 +0200 Subject: [PATCH] little fix --- backend/internal/sso.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/internal/sso.js b/backend/internal/sso.js index f6fa02b4..4e1f4245 100644 --- a/backend/internal/sso.js +++ b/backend/internal/sso.js @@ -66,8 +66,10 @@ export default { const state = generators.state(); const nonce = generators.nonce(); + const config = getConfig(); + const scopes = process.env.OIDC_SCOPES || "openid email profile groups"; const url = client.authorizationUrl({ - scope: "openid email profile", + scope: scopes, state, nonce, });