chore: bot suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Stavros
2025-05-27 16:39:01 +03:00
committed by GitHub
parent 35ae69791c
commit f441645e36

View File

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