feat: add support for response mode

This commit is contained in:
Lakhan Samani
2022-03-07 18:49:18 +05:30
parent 7b09a8817c
commit 128a2a8f75
4 changed files with 163 additions and 110 deletions

View File

@@ -112,7 +112,7 @@ func PersistEnv() error {
for key, value := range storeData.StringEnv {
// don't override unexposed envs
if key != constants.EnvKeyEncryptionKey && key != constants.EnvKeyClientID && key != constants.EnvKeyClientSecret && key != constants.EnvKeyJWK {
if key != constants.EnvKeyEncryptionKey {
// 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