This commit is contained in:
parent
5d9ca61ecc
commit
e7ad775573
@ -12,6 +12,7 @@ module.exports = {
|
|||||||
scopes: process.env.OIDC_AVAILABLE_SCOPES,
|
scopes: process.env.OIDC_AVAILABLE_SCOPES,
|
||||||
grantTypes: process.env.OIDC_GRANT_TYPES,
|
grantTypes: process.env.OIDC_GRANT_TYPES,
|
||||||
signedResponseAlg: process.env.OIDC_ID_TOKEN_SIGNED_RESPONSE_ALG,
|
signedResponseAlg: process.env.OIDC_ID_TOKEN_SIGNED_RESPONSE_ALG,
|
||||||
|
codeChallengeMethod: 'S256',
|
||||||
responseTypes: process.env.OIDC_RESPONSE_TYPES,
|
responseTypes: process.env.OIDC_RESPONSE_TYPES,
|
||||||
authMethod: process.env.OIDC_TOKEN_ENDPOINT_AUTH_METHOD,
|
authMethod: process.env.OIDC_TOKEN_ENDPOINT_AUTH_METHOD,
|
||||||
},
|
},
|
||||||
|
@ -39,7 +39,7 @@ export class AuthOidcService<ServiceParams extends AuthOidcParams = AuthOidcPara
|
|||||||
scope: config.get('oidc.scopes'),
|
scope: config.get('oidc.scopes'),
|
||||||
response_type: config.get('oidc.responseTypes'),
|
response_type: config.get('oidc.responseTypes'),
|
||||||
code_challenge: codeChallenge,
|
code_challenge: codeChallenge,
|
||||||
code_challenge_method: config.get('oidc.signedResponseAlg'),
|
code_challenge_method: config.get('oidc.codeChallengeMethod'),
|
||||||
});
|
});
|
||||||
|
|
||||||
params.session.codeVerifier = codeVerifier;
|
params.session.codeVerifier = codeVerifier;
|
||||||
|
Loading…
Reference in New Issue
Block a user