fix: review comments

This commit is contained in:
Stavros
2025-12-21 17:25:04 +02:00
parent 195b70b4d7
commit 7db81121e1
7 changed files with 15 additions and 8 deletions

View File

@@ -45,7 +45,9 @@ func NewGoogleOAuthService(config config.OAuthServiceConfig) *GoogleOAuthService
}
func (google *GoogleOAuthService) Init() error {
httpClient := &http.Client{}
httpClient := &http.Client{
Timeout: 30 * time.Second,
}
ctx := context.Background()
ctx = context.WithValue(ctx, oauth2.HTTPClient, httpClient)
google.context = ctx