fix(oidc): fix oidc conf
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Erki Aas 2024-03-26 13:24:54 +02:00
parent 5d9ca61ecc
commit e7ad775573
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
scopes: process.env.OIDC_AVAILABLE_SCOPES,
grantTypes: process.env.OIDC_GRANT_TYPES,
signedResponseAlg: process.env.OIDC_ID_TOKEN_SIGNED_RESPONSE_ALG,
codeChallengeMethod: 'S256',
responseTypes: process.env.OIDC_RESPONSE_TYPES,
authMethod: process.env.OIDC_TOKEN_ENDPOINT_AUTH_METHOD,
},

View File

@ -39,7 +39,7 @@ export class AuthOidcService<ServiceParams extends AuthOidcParams = AuthOidcPara
scope: config.get('oidc.scopes'),
response_type: config.get('oidc.responseTypes'),
code_challenge: codeChallenge,
code_challenge_method: config.get('oidc.signedResponseAlg'),
code_challenge_method: config.get('oidc.codeChallengeMethod'),
});
params.session.codeVerifier = codeVerifier;