little fix

This commit is contained in:
giutrec 2026-06-21 18:46:24 +02:00
parent b2a5a17ef6
commit dc60469f86

View file

@ -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,
});