Compare commits

..

2 commits

Author SHA1 Message Date
296909ef1f fix: allow setting client/secret id for a new backend
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
2024-01-03 17:24:14 +01:00
c9f89f496f fix: allow setting the issuer from environment variables 2024-01-03 17:24:14 +01:00
2 changed files with 0 additions and 6 deletions

View file

@ -129,9 +129,6 @@ func (ac *AppConfig) UnmarshalJSON(data []byte) error {
return fmt.Errorf("failed to read JSON: %w", err)
}
ac.OpenConnectConfig = jsonConf.OpenConnectConfig
if ac.OpenConnectConfig == nil {
ac.OpenConnectConfig = &OpenConnectConfig{}
}
return nil
}

View file

@ -29,9 +29,6 @@ var defaultConfig = AppConfig{
CaFile string
}{Mode: defaultStorageSSLMode, CaFile: defaultStorageSSLCaFile},
},
OpenConnectConfig: &OpenConnectConfig{
Issuer: defaultIssuer,
},
}
func initJson(t *testing.T, content string) string {