From 2af6d036253eee1a9a08c6ddf6be6d67537bcdff Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 20 Oct 2021 20:49:55 +0200 Subject: [PATCH] Call SetDirectory in OAuth TLS Config (#337) Signed-off-by: Julien Pivotto --- config/http_config.go | 1 + 1 file changed, 1 insertion(+) 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.