diff --git a/config/prod.js b/config/prod.js index 480bd4d..b525df9 100644 --- a/config/prod.js +++ b/config/prod.js @@ -3,9 +3,17 @@ module.exports = { sessionSecret: process.env.SESSION_SECRET, oidc: { gatewayUri: process.env.OIDC_GATEWAY_URI, + gatewayAuthUri: process.env.OIDC_GATEWAY_AUTH_URI, + gatewayTokenUri: process.env.OIDC_GATEWAY_TOKEN_URI, + gatewayUserinfoUri: process.env.OIDC_GATEWAY_USERINFO_URI, clientId: process.env.OIDC_CLIENT_ID, clientSecret: process.env.OIDC_CLIENT_SECRET, redirectUris: process.env.OIDC_REDIRECT_URIS, + scopes: process.env.OIDC_AVAILABLE_SCOPES, + grantTypes: process.env.OIDC_GRANT_TYPES, + signedResponseAlg: process.env.OIDC_ID_TOKEN_SIGNED_RESPONSE_ALG, + responseTypes: process.env.OIDC_RESPONSE_TYPES, + authMethod: process.env.OIDC_TOKEN_ENDPOINT_AUTH_METHOD, }, wildDuck: { url: process.env.WILDDUCK_URL, diff --git a/src/services/auth-oidc/auth-oidc.class.ts b/src/services/auth-oidc/auth-oidc.class.ts index c0cc4d3..f7bcc90 100644 --- a/src/services/auth-oidc/auth-oidc.class.ts +++ b/src/services/auth-oidc/auth-oidc.class.ts @@ -29,17 +29,17 @@ export class AuthOidcService