From e371d6dcfad5201d059e3e734162c179279ae1d5 Mon Sep 17 00:00:00 2001 From: Dennis Gaida <2392217+DennisGaida@users.noreply.github.com> Date: Fri, 9 Jun 2023 16:50:57 +0200 Subject: [PATCH] Update dockerSecret.js Adding OAUTH2 secrets so they can be set using docker secrets. Signed-off-by: Dennis Gaida <2392217+DennisGaida@users.noreply.github.com> --- lib/config/dockerSecret.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/config/dockerSecret.js b/lib/config/dockerSecret.js index 02b959d94..ba514ba01 100644 --- a/lib/config/dockerSecret.js +++ b/lib/config/dockerSecret.js @@ -56,6 +56,10 @@ if (fs.existsSync(basePath)) { clientSecret: getSecret('google_clientSecret'), hostedDomain: getSecret('google_hostedDomain') }, - imgur: getSecret('imgur_clientid') + imgur: getSecret('imgur_clientid'), + oauth2: { + clientID: getSecret('oauth2_clientID'), + clientSecret: getSecret('oauth2_clientSecret') + } } }