diff --git a/config/http_config.go b/config/http_config.go index 5f520edc..4b872417 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -170,6 +170,7 @@ func (a *OAuth2) SetDirectory(dir string) { return } a.ClientSecretFile = JoinDir(dir, a.ClientSecretFile) + a.TLSConfig.SetDirectory(dir) } // HTTPClientConfig configures an HTTP client.