From f441645e36c9f078810b1bd4434e9ec8f312ff62 Mon Sep 17 00:00:00 2001 From: Stavros Date: Tue, 27 May 2025 16:39:01 +0300 Subject: [PATCH] chore: bot suggestion Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- internal/oauth/oauth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go index 66b0f8a..3004f71 100644 --- a/internal/oauth/oauth.go +++ b/internal/oauth/oauth.go @@ -30,6 +30,7 @@ func (oauth *OAuth) Init() { transport := &http.Transport{ TLSClientConfig: &tls.Config{ InsecureSkipVerify: oauth.InsecureSkipVerify, + MinVersion: tls.VersionTLS12, }, } @@ -43,7 +44,6 @@ func (oauth *OAuth) Init() { // Set the HTTP client in the context oauth.Context = context.WithValue(oauth.Context, oauth2.HTTPClient, httpClient) - // Create the verifier oauth.Verifier = oauth2.GenerateVerifier() }