Do not autoload authissuer for the IDPManager config (#442)

This commit is contained in:
Misha Bragin 2022-08-25 09:24:24 +02:00 committed by GitHub
parent e3657610bc
commit dd4ff61b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,11 +340,6 @@ func loadMgmtConfig(mgmtConfigPath string) (*server.Config, error) {
u.Host, config.DeviceAuthorizationFlow.ProviderConfig.Domain)
config.DeviceAuthorizationFlow.ProviderConfig.Domain = u.Host
}
if config.IdpManagerConfig != nil {
log.Infof("overriding Auth0ClientCredentials.AuthIssuer with a new value: %s, previously configured value: %s",
oidcConfig.Issuer, config.IdpManagerConfig.Auth0ClientCredentials.AuthIssuer)
config.IdpManagerConfig.Auth0ClientCredentials.AuthIssuer = oidcConfig.Issuer
}
}
return config, err