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() }