Skip to content

Commit

Permalink
Do not autoload authissuer for the IDPManager config (netbirdio#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini authored Aug 25, 2022
1 parent 41d5505 commit 9dab309
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions management/cmd/management.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dab309

Please sign in to comment.