feat: add config variable to specify the requested OIDC sopes

This commit is contained in:
Elias Schneider
2024-11-25 12:21:17 +01:00
parent 468b25828b
commit da54ce6ee0
3 changed files with 8 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ export abstract class GenericOidcProvider implements OAuthProvider<OidcToken> {
new URLSearchParams({
client_id: this.config.get(`oauth.${this.name}-clientId`),
response_type: "code",
scope: "openid profile email",
scope: this.config.get(`oauth.${this.name}-scope`),
redirect_uri: this.getRedirectUri(),
state,
nonce,