diff --git a/CHANGELOG.md b/CHANGELOG.md index 8296b24f..61a0f584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Patch release. No schema or API change. Upgrade from v3.9.1 is a Controller and image replace. The two fixes below apply to every release from v3.8.0 through v3.9.1. +### Added + +- **External OIDC issuer CA** โ€” `OIDC_ISSUER_TLS_PATH_CA` (`auth.issuer.tls.path.ca`) or `OIDC_ISSUER_TLS_BASE64_CA` (`auth.issuer.tls.base64.ca`) trusts an HTTPS issuer signed by a private CA. Path wins when both are set. The CA is added to the Mozilla roots for discovery, the token call, and JWKS only. Certificate checks stay on. Embedded mode ignores these keys. + ### Changed - Dockerfile base image digest pins refreshed for **`node:24-bookworm`** (console-builder and builder) and **`ubi9/nodejs-24-minimal`**. diff --git a/docs/controller-config.md b/docs/controller-config.md index c3daf6ee..d0d7ebb0 100644 --- a/docs/controller-config.md +++ b/docs/controller-config.md @@ -227,6 +227,8 @@ The auth block in the default file only activates `mode`, `insecureAllowHttp`, a | `auth.bootstrap.username` | empty | `OIDC_BOOTSTRAP_ADMIN_USERNAME` | | `auth.bootstrap.password` | empty | `OIDC_BOOTSTRAP_ADMIN_PASSWORD` | | `auth.issuerUrl` | empty | `OIDC_ISSUER_URL` | +| `auth.issuer.tls.path.ca` | empty | `OIDC_ISSUER_TLS_PATH_CA` | +| `auth.issuer.tls.base64.ca` | empty | `OIDC_ISSUER_TLS_BASE64_CA` | | `auth.client.id` | empty | `OIDC_CLIENT_ID` | | `auth.client.secret` | empty | `OIDC_CLIENT_SECRET` | | `auth.consoleClient` | empty | `OIDC_CONSOLE_CLIENT_ID` | @@ -246,6 +248,8 @@ The auth block in the default file only activates `mode`, `insecureAllowHttp`, a `auth.mode` is `embedded` or `external`. External mode uses `auth.issuerUrl`, `auth.client.id`, and `auth.client.secret`. Embedded mode runs the issuer inside Controller. The bootstrap username and password create the first admin. `auth.insecureAllowHttp` allows an `http` public URL in production. `auth.insecureAllowBootstrapLog` allows the bootstrap password path to be logged in production. +External mode can trust an HTTPS issuer signed by a private CA. Set `OIDC_ISSUER_TLS_PATH_CA` or `OIDC_ISSUER_TLS_BASE64_CA`. Path wins when both are set. The value is a PEM CA or a concatenated PEM bundle. Base64 is those PEM bytes. Controller adds that CA to the Mozilla roots for discovery, the token call, and JWKS. Certificate checks stay on. Embedded mode ignores these keys. `NODE_EXTRA_CA_CERTS` remains a process-wide alternative. + `OIDC_CONSOLE_CLIENT_ID` sets `auth.consoleClient` to the console client id string. The console client id is also read from `auth.consoleClient.id` when that key is an object. `AUTH_CONSOLE_CLIENT_ENABLED` sets `auth.consoleClient.enabled` and defaults to false when unset. Set the enabled flag when the console client should be registered. The id falls back to `ecn-viewer` when nothing is configured. `auth.sessionStore.type` is `memory` or `database`. When it is unset, mysql and postgres use `database` and sqlite uses `memory`. An empty `auth.sessionStore.secret` is generated and stored. `auth.rateLimit.windowMs` is the per-IP window for auth endpoints. diff --git a/docs/external-oidc-client-setup.md b/docs/external-oidc-client-setup.md index 777e86d8..3e3d1b48 100644 --- a/docs/external-oidc-client-setup.md +++ b/docs/external-oidc-client-setup.md @@ -39,6 +39,8 @@ In external mode: | `TRUST_PROXY` | When TLS terminates at ingress | `true` | | `AUTH_SESSION_STORE_TYPE` | HA + browser login | `database` (mysql/postgres) | | `AUTH_INSECURE_ALLOW_HTTP` | Development only | `true` when using `http://localhost:*` | +| `OIDC_ISSUER_TLS_PATH_CA` | Private CA | PEM file for the issuer CA. Wins over base64 | +| `OIDC_ISSUER_TLS_BASE64_CA` | Private CA | Base64 of the issuer CA PEM (or PEM bundle) | `OIDC_ISSUER_URL` must be the **issuer string**, not a generic IdP homepage. Discovery is: @@ -48,6 +50,8 @@ GET {OIDC_ISSUER_URL}/.well-known/openid-configuration Do **not** set legacy `KC_*`, `auth.realm`, or `auth.realmKey`. +When the issuer certificate is signed by a private CA, set `OIDC_ISSUER_TLS_PATH_CA` or `OIDC_ISSUER_TLS_BASE64_CA`. Path wins when both are set. Controller adds that CA to the Mozilla roots for discovery, the token call, and JWKS, and does not turn certificate checks off. These keys apply only when `AUTH_MODE=external`. `NODE_EXTRA_CA_CERTS` remains a process-wide alternative. + Optional `OIDC_CONSOLE_CLIENT_ID` / `AUTH_CONSOLE_CLIENT_ENABLED` registers a **future SPA-direct** public client. Default is **off**. Primary Console login uses this confidential Controller client via the BFF. Do not point Console at a second public client unless you intend to enable that path. ## IdP client โ€” required settings diff --git a/docs/oidc-configuration.md b/docs/oidc-configuration.md index 8cb8b3a3..317d2919 100644 --- a/docs/oidc-configuration.md +++ b/docs/oidc-configuration.md @@ -18,6 +18,8 @@ Set **`CONTROLLER_PUBLIC_URL`** to the URL clients use to reach Controller (HTTP Development with `http://localhost:*` requires **`AUTH_INSECURE_ALLOW_HTTP=true`**. +An external HTTPS issuer signed by a private CA needs **`OIDC_ISSUER_TLS_PATH_CA`** (PEM file) or **`OIDC_ISSUER_TLS_BASE64_CA`** (base64 of that PEM). Path wins when both are set. The file may be one CA or a concatenated PEM bundle. Controller adds it to the Mozilla roots for discovery, the token call, and JWKS, and keeps certificate checks on. Embedded mode ignores these keys. **`NODE_EXTRA_CA_CERTS`** still works and applies to every HTTPS call in the process. + --- ## Environment variables @@ -32,6 +34,8 @@ Canonical names map to `config.yaml` under `auth.*` (see `src/config/env-mapping | `CONTROLLER_PUBLIC_URL` | both | Yes | External URL; embedded issuer base | | `TRUST_PROXY` | both | When proxied | Honor forwarded headers | | `OIDC_ISSUER_URL` | external | Yes | Full issuer URL (e.g. `https://auth.example.com/realms/myrealm`) | +| `OIDC_ISSUER_TLS_PATH_CA` | external | Private CA | PEM file for the issuer CA. Wins over the base64 key | +| `OIDC_ISSUER_TLS_BASE64_CA` | external | Private CA | Base64 of the issuer CA PEM (or PEM bundle) | | `OIDC_CLIENT_ID` | both | Yes | Confidential API client (default embedded: `controller`) | | `OIDC_CLIENT_SECRET` | both | external required; embedded optional | Client secret for token exchange | | `CONSOLE_URL` | both | Recommended | EdgeOps Console browser origin (defaults to public URL) | diff --git a/src/config/config.yaml b/src/config/config.yaml index f13eb8a6..36896adb 100644 --- a/src/config/config.yaml +++ b/src/config/config.yaml @@ -160,6 +160,12 @@ auth: # password: "" # Bootstrap admin password (OIDC_BOOTSTRAP_ADMIN_PASSWORD) insecureAllowBootstrapLog: false # Allow bootstrap log in prod (AUTH_INSECURE_ALLOW_BOOTSTRAP_LOG) # issuerUrl: # OIDC issuer URL (OIDC_ISSUER_URL); external mode only +# issuer: # External issuer TLS trust; ignored when auth.mode is embedded +# tls: +# path: +# ca: "" # CA PEM file path (OIDC_ISSUER_TLS_PATH_CA); path wins over base64 +# base64: +# ca: "" # CA PEM bytes, base64 (OIDC_ISSUER_TLS_BASE64_CA) # client: # id: # Controller API client ID (OIDC_CLIENT_ID) # secret: # Controller API client secret (OIDC_CLIENT_SECRET) diff --git a/src/config/env-mapping.js b/src/config/env-mapping.js index 4d7069c0..7c3c487d 100644 --- a/src/config/env-mapping.js +++ b/src/config/env-mapping.js @@ -117,6 +117,8 @@ module.exports = { // Auth Configuration (OIDC โ€” k8s-style; naming-map ยง13) AUTH_MODE: 'auth.mode', OIDC_ISSUER_URL: 'auth.issuerUrl', + OIDC_ISSUER_TLS_PATH_CA: 'auth.issuer.tls.path.ca', + OIDC_ISSUER_TLS_BASE64_CA: 'auth.issuer.tls.base64.ca', OIDC_CLIENT_ID: 'auth.client.id', OIDC_CLIENT_SECRET: 'auth.client.secret', OIDC_CONSOLE_CLIENT_ID: 'auth.consoleClient', diff --git a/src/config/oidc-fetch.js b/src/config/oidc-fetch.js index 9307398f..d0508e6f 100644 --- a/src/config/oidc-fetch.js +++ b/src/config/oidc-fetch.js @@ -1,12 +1,88 @@ +const https = require('https') +const tls = require('tls') const { Agent, fetch: undiciFetch } = require('undici') +const config = require('./index') +const { loadCertificate } = require('../utils/ssl-utils') const { getListenerTlsMaterial, getListenerTrustCaBuffers } = require('../utils/tls-config') let cachedFetch +let cachedExternalFetch +let cachedExternalCaKey function resetEmbeddedOidcFetchForTests () { cachedFetch = undefined } +function resetExternalOidcFetchForTests () { + cachedExternalFetch = undefined + cachedExternalCaKey = undefined +} + +function trimConfigValue (value) { + if (typeof value !== 'string') { + return '' + } + return value.trim() +} + +function readExternalIssuerCaSource () { + const pathValue = trimConfigValue( + process.env.OIDC_ISSUER_TLS_PATH_CA || config.get('auth.issuer.tls.path.ca') + ) + if (pathValue) { + return { source: pathValue, isBase64: false } + } + + const base64Value = trimConfigValue( + process.env.OIDC_ISSUER_TLS_BASE64_CA || config.get('auth.issuer.tls.base64.ca') + ) + if (base64Value) { + return { source: base64Value, isBase64: true } + } + + return undefined +} + +function hasExternalIssuerCaConfig () { + return readExternalIssuerCaSource() !== undefined +} + +function getExternalIssuerCaBuffer () { + const material = readExternalIssuerCaSource() + if (!material) { + return undefined + } + return loadCertificate(material.source, material.isBase64) +} + +function buildIssuerTrustCaList (privateCa) { + return [privateCa, ...tls.rootCertificates] +} + +function createExternalOidcFetch (caBuffer) { + const cacheKey = caBuffer.toString('base64') + if (cachedExternalFetch && cachedExternalCaKey === cacheKey) { + return cachedExternalFetch + } + + const agent = new Agent({ + connect: { + ca: buildIssuerTrustCaList(caBuffer), + rejectUnauthorized: true + } + }) + cachedExternalCaKey = cacheKey + cachedExternalFetch = (url, init) => undiciFetch(url, { ...init, dispatcher: agent }) + return cachedExternalFetch +} + +function createExternalIssuerHttpsAgent (caBuffer) { + return new https.Agent({ + ca: buildIssuerTrustCaList(caBuffer), + rejectUnauthorized: true + }) +} + function createEmbeddedOidcFetch () { const material = getListenerTlsMaterial() if (!material.enabled) { @@ -33,5 +109,10 @@ function createEmbeddedOidcFetch () { module.exports = { createEmbeddedOidcFetch, - resetEmbeddedOidcFetchForTests + resetEmbeddedOidcFetchForTests, + hasExternalIssuerCaConfig, + getExternalIssuerCaBuffer, + createExternalOidcFetch, + createExternalIssuerHttpsAgent, + resetExternalOidcFetchForTests } diff --git a/src/config/oidc.js b/src/config/oidc.js index c5a5f084..ddf57076 100644 --- a/src/config/oidc.js +++ b/src/config/oidc.js @@ -32,6 +32,7 @@ let embeddedOauthClientPromise = null let jwks = null let issuerString = null let configuredClientId = null +let embeddedIssuerCaWarned = false const AUTH_MODES = ['embedded', 'external'] @@ -156,17 +157,48 @@ async function verifyUserAccessToken (token) { return payload } +function warnIfEmbeddedIssuerCaIgnored () { + if (getAuthMode() !== 'embedded' || embeddedIssuerCaWarned) { + return + } + + const { hasExternalIssuerCaConfig } = require('./oidc-fetch') + if (!hasExternalIssuerCaConfig()) { + return + } + + embeddedIssuerCaWarned = true + logger.warn('OIDC issuer CA is ignored when auth.mode is embedded') +} + function getDiscoveryOptions () { + const options = {} const allowHttp = config.getBoolean('auth.insecureAllowHttp', false) - if (!allowHttp) { + if (allowHttp) { + // openid-client marks allowInsecureRequests @deprecated to discourage prod use; + // required for local http:// when AUTH_INSECURE_ALLOW_HTTP=true. + options.execute = [oidcClient.allowInsecureRequests] + } + + if (getAuthMode() === 'external') { + const { + getExternalIssuerCaBuffer, + createExternalOidcFetch + } = require('./oidc-fetch') + const caBuffer = getExternalIssuerCaBuffer() + if (caBuffer) { + options[oidcClient.customFetch] = createExternalOidcFetch(caBuffer) + } + } + + if (!options.execute && options[oidcClient.customFetch] === undefined) { return undefined } - // openid-client marks allowInsecureRequests @deprecated to discourage prod use; - // required for local http:// when AUTH_INSECURE_ALLOW_HTTP=true. - return { execute: [oidcClient.allowInsecureRequests] } + return options } async function ensureEmbeddedJwks () { + warnIfEmbeddedIssuerCaIgnored() const { privateJwk } = await AuthJwks.getActiveSigningMaterial() jwks = createLocalJWKSet({ keys: [AuthJwks.getPublicJwk(privateJwk)] }) issuerString = getEmbeddedIssuerUrl() @@ -192,20 +224,30 @@ async function ensureDiscovery () { discoveryPromise = (async () => { const issuer = new URL(issuerUrl) + const discoveryOptions = getDiscoveryOptions() const configuration = await oidcClient.discovery( issuer, clientId, clientSecret, undefined, - getDiscoveryOptions() + discoveryOptions ) + if (discoveryOptions?.[oidcClient.customFetch]) { + configuration[oidcClient.customFetch] = discoveryOptions[oidcClient.customFetch] + } const metadata = configuration.serverMetadata() if (!metadata.jwks_uri) { throw new Error('OIDC issuer discovery did not return jwks_uri') } - jwks = createRemoteJWKSet(new URL(metadata.jwks_uri)) + const { getExternalIssuerCaBuffer } = require('./oidc-fetch') + const caBuffer = getExternalIssuerCaBuffer() + const verifyOptions = getRemoteJwksVerifyOptions(caBuffer) + const jwksUrl = new URL(metadata.jwks_uri) + jwks = verifyOptions + ? createRemoteJWKSet(jwksUrl, verifyOptions) + : createRemoteJWKSet(jwksUrl) issuerString = metadata.issuer return configuration })().catch((error) => { @@ -243,6 +285,7 @@ function initOidc () { } validateAuthConfig() + warnIfEmbeddedIssuerCaIgnored() oidcInstance = createOidcFacade() logger.info(`OIDC initialized successfully (${getAuthMode()} mode)`) return oidcInstance @@ -294,6 +337,16 @@ function getOidcMiddleware () { } } +function getRemoteJwksVerifyOptions (caBuffer) { + if (!caBuffer) { + return undefined + } + const { createExternalIssuerHttpsAgent } = require('./oidc-fetch') + return { + agent: createExternalIssuerHttpsAgent(caBuffer) + } +} + function getMemoryStore () { const { getAuthSessionStore } = require('./auth-session-store') return getAuthSessionStore() @@ -356,8 +409,10 @@ function resetDiscoveryForTests () { issuerString = null configuredClientId = null oidcInstance = null - const { resetEmbeddedOidcFetchForTests } = require('./oidc-fetch') + embeddedIssuerCaWarned = false + const { resetEmbeddedOidcFetchForTests, resetExternalOidcFetchForTests } = require('./oidc-fetch') resetEmbeddedOidcFetchForTests() + resetExternalOidcFetchForTests() const { resetAuthSessionStoreForTests } = require('./auth-session-store') resetAuthSessionStoreForTests() } @@ -373,6 +428,8 @@ module.exports = { getOidcSettings, getOidcConfiguration: ensureDiscovery, getOauthClientConfiguration, + getDiscoveryOptions, + getRemoteJwksVerifyOptions, resetDiscoveryForTests, buildKauthGrant, verifyUserAccessToken diff --git a/test/src/config/oidc.test.js b/test/src/config/oidc.test.js index 36ccb2de..cdff275c 100644 --- a/test/src/config/oidc.test.js +++ b/test/src/config/oidc.test.js @@ -355,5 +355,164 @@ describe('OIDC config', () => { resetEmbeddedOidcFetchForTests() } }) + + it('ignores an external issuer CA in embedded mode', async () => { + const fs = require('fs') + const path = require('path') + const logger = require('../../../src/logger') + const caPem = fs.readFileSync(path.join(__dirname, '../../tls-cert/ca.crt')) + + await withEmbeddedIssuerServer(async (issuerBase) => { + const warn = $sandbox.stub(logger, 'warn') + process.env.OIDC_ISSUER_TLS_BASE64_CA = caPem.toString('base64') + const oidc = reloadOidcModule() + oidc.initOidc() + + const clientConfig = await oidc.getOauthClientConfiguration() + + expect(clientConfig.serverMetadata().issuer).to.equal(`${issuerBase}/oidc`) + expect(warn.calledWith('OIDC issuer CA is ignored when auth.mode is embedded')).to.equal(true) + }) + }) + }) + + describe('external issuer CA', () => { + const fs = require('fs') + const path = require('path') + const https = require('https') + const caPath = path.join(__dirname, '../../tls-cert/ca.crt') + const caPem = fs.readFileSync(caPath) + + it('uses the CA file when both path and base64 are set', () => { + const { getExternalIssuerCaBuffer } = require('../../../src/config/oidc-fetch') + process.env.OIDC_ISSUER_TLS_PATH_CA = caPath + process.env.OIDC_ISSUER_TLS_BASE64_CA = Buffer.from('not-the-file').toString('base64') + + const loaded = getExternalIssuerCaBuffer() + expect(loaded.equals(caPem)).to.equal(true) + }) + + it('decodes the base64 CA when no path is set', () => { + const { getExternalIssuerCaBuffer } = require('../../../src/config/oidc-fetch') + delete process.env.OIDC_ISSUER_TLS_PATH_CA + process.env.OIDC_ISSUER_TLS_BASE64_CA = caPem.toString('base64') + + const loaded = getExternalIssuerCaBuffer() + expect(loaded.equals(caPem)).to.equal(true) + }) + + it('builds discovery and JWKS options with no custom trust when no issuer CA is set', () => { + applyExternalEnv() + const oidc = reloadOidcModule() + + expect(oidc.getDiscoveryOptions()).to.equal(undefined) + expect(oidc.getRemoteJwksVerifyOptions()).to.equal(undefined) + }) + + it('passes a custom fetch and https agent when the issuer CA is set', () => { + const httpsModule = require('https') + const oidcClient = require('openid-client') + const { getExternalIssuerCaBuffer } = require('../../../src/config/oidc-fetch') + applyExternalEnv({ + OIDC_ISSUER_TLS_PATH_CA: caPath + }) + const oidc = reloadOidcModule() + + const discoveryOptions = oidc.getDiscoveryOptions() + const verifyOptions = oidc.getRemoteJwksVerifyOptions(getExternalIssuerCaBuffer()) + + expect(discoveryOptions[oidcClient.customFetch]).to.be.a('function') + expect(verifyOptions.agent).to.be.instanceOf(httpsModule.Agent) + expect(verifyOptions.agent.options.rejectUnauthorized).to.equal(true) + expect(verifyOptions.agent.options.ca.length).to.be.greaterThan(1) + }) + + it('keeps allowInsecureRequests when an issuer CA is also set', () => { + const oidcClient = require('openid-client') + applyOidcEnv({ + AUTH_MODE: 'external', + CONTROLLER_PUBLIC_URL: 'https://localhost:51121', + OIDC_ISSUER_URL: 'https://idp.example.com/realms/test', + OIDC_CLIENT_ID: 'controller', + OIDC_CLIENT_SECRET: 'external-test-secret', + AUTH_INSECURE_ALLOW_HTTP: 'true', + OIDC_ISSUER_TLS_PATH_CA: caPath + }, { sandbox: $sandbox }) + const oidc = reloadOidcModule() + const discoveryOptions = oidc.getDiscoveryOptions() + + expect(discoveryOptions.execute).to.have.length(1) + expect(discoveryOptions[oidcClient.customFetch]).to.be.a('function') + }) + + function listenPrivateIssuer () { + const key = fs.readFileSync(path.join(__dirname, '../../tls-cert/tls.key')) + const cert = fs.readFileSync(path.join(__dirname, '../../tls-cert/tls.crt')) + const server = https.createServer({ key, cert }, (req, res) => { + const { port } = server.address() + const issuer = `https://localhost:${port}` + if ((req.url || '').startsWith('/.well-known/openid-configuration')) { + res.writeHead(200, { 'content-type': 'application/json' }) + res.end(JSON.stringify({ + issuer, + authorization_endpoint: `${issuer}/authorize`, + token_endpoint: `${issuer}/token`, + jwks_uri: `${issuer}/jwks`, + response_types_supported: ['code'], + subject_types_supported: ['public'], + id_token_signing_alg_values_supported: ['RS256'] + })) + return + } + res.writeHead(404) + res.end() + }) + + return new Promise((resolve, reject) => { + server.listen(0, 'localhost', () => resolve(server)) + server.on('error', reject) + }) + } + + it('fails discovery against a private CA when the issuer CA is unset', async () => { + const server = await listenPrivateIssuer() + const { port } = server.address() + applyExternalEnv({ + OIDC_ISSUER_URL: `https://localhost:${port}` + }) + const oidc = reloadOidcModule() + + try { + await oidc.getOauthClientConfiguration() + expect.fail('discovery should reject an untrusted issuer certificate') + } catch (error) { + const cause = error.cause ? error.cause.message || String(error.cause) : '' + expect(`${error.message} ${cause}`).to.match(/fetch failed|certificate|UNABLE_TO_VERIFY|self[- ]signed/i) + } finally { + await new Promise((resolve, reject) => { + server.close((error) => (error ? reject(error) : resolve())) + }) + } + }) + + it('discovers an issuer signed by the configured private CA', async () => { + const server = await listenPrivateIssuer() + const { port } = server.address() + const issuer = `https://localhost:${port}` + applyExternalEnv({ + OIDC_ISSUER_URL: issuer, + OIDC_ISSUER_TLS_PATH_CA: caPath + }) + const oidc = reloadOidcModule() + + try { + const clientConfig = await oidc.getOauthClientConfiguration() + expect(clientConfig.serverMetadata().issuer).to.equal(issuer) + } finally { + await new Promise((resolve, reject) => { + server.close((error) => (error ? reject(error) : resolve())) + }) + } + }) }) }) diff --git a/test/support/oidc-test-helpers.js b/test/support/oidc-test-helpers.js index 922f72f7..5b2a156e 100644 --- a/test/support/oidc-test-helpers.js +++ b/test/support/oidc-test-helpers.js @@ -11,7 +11,9 @@ const OIDC_ENV_KEYS = [ 'AUTH_SESSION_STORE_TYPE', 'AUTH_SESSION_STORE_TTL_MS', 'AUTH_SESSION_SECRET', - 'AUTH_INSECURE_ALLOW_HTTP' + 'AUTH_INSECURE_ALLOW_HTTP', + 'OIDC_ISSUER_TLS_PATH_CA', + 'OIDC_ISSUER_TLS_BASE64_CA' ] function snapshotOidcEnv () { @@ -51,6 +53,12 @@ function resolveOidcConfigOverrides (env = {}) { case 'OIDC_ISSUER_URL': overrides['auth.issuerUrl'] = isCleared ? '' : value break + case 'OIDC_ISSUER_TLS_PATH_CA': + overrides['auth.issuer.tls.path.ca'] = isCleared ? '' : value + break + case 'OIDC_ISSUER_TLS_BASE64_CA': + overrides['auth.issuer.tls.base64.ca'] = isCleared ? '' : value + break case 'OIDC_CLIENT_ID': overrides['auth.client.id'] = isCleared ? '' : value break