Skip to content

Commit

Permalink
fix: namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Tazer committed May 23, 2024
1 parent c48ab99 commit d113e57
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion connector/auth/jwt_token_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package auth

import (
"context"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
Expand Down Expand Up @@ -48,9 +49,13 @@ var httpClient *http.Client

// Init function for the package
func init() {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
// Create a HTTP client with a timeout
httpClient = &http.Client{
Timeout: fetchTimeout * time.Second,
Transport: tr,
Timeout: fetchTimeout * time.Second,
}
}

Expand Down

0 comments on commit d113e57

Please sign in to comment.