feat: add client secret

This commit is contained in:
Lakhan Samani
2022-02-28 13:14:16 +05:30
parent df1c56bb1c
commit 4830a7e9ac
8 changed files with 64 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ func PersistEnv() error {
for key, value := range storeData.StringEnv {
// don't override unexposed envs
if key != constants.EnvKeyEncryptionKey && key != constants.EnvKeyClientID && key != constants.EnvKeyJWK {
if key != constants.EnvKeyEncryptionKey && key != constants.EnvKeyClientID && key != constants.EnvKeyClientSecret && key != constants.EnvKeyJWK {
// check only for derivative keys
// No need to check for ENCRYPTION_KEY which special key we use for encrypting config data
// as we have removed it from json