diff --git a/backend/src/oauth/provider/genericOidc.provider.ts b/backend/src/oauth/provider/genericOidc.provider.ts index 72d36d8..951afbe 100644 --- a/backend/src/oauth/provider/genericOidc.provider.ts +++ b/backend/src/oauth/provider/genericOidc.provider.ts @@ -70,7 +70,7 @@ export abstract class GenericOidcProvider implements OAuthProvider { new URLSearchParams({ client_id: this.config.get(`oauth.${this.name}-clientId`), response_type: "code", - scope: this.config.get(`oauth.${this.name}-scope`), + scope: this.name == "oidc" ? this.config.get(`oauth.oidc-scope`) : "openid email profile", redirect_uri: this.getRedirectUri(), state, nonce,