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>
This commit is contained in:
Dennis Gaida 2023-06-09 16:50:57 +02:00 committed by Tilman Vatteroth
parent aebac6173c
commit e371d6dcfa

View file

@ -56,6 +56,10 @@ if (fs.existsSync(basePath)) {
clientSecret: getSecret('google_clientSecret'), clientSecret: getSecret('google_clientSecret'),
hostedDomain: getSecret('google_hostedDomain') hostedDomain: getSecret('google_hostedDomain')
}, },
imgur: getSecret('imgur_clientid') imgur: getSecret('imgur_clientid'),
oauth2: {
clientID: getSecret('oauth2_clientID'),
clientSecret: getSecret('oauth2_clientSecret')
}
} }
} }