Skip to content

Commit

Permalink
use pace/bricks transport chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Muerdter authored and monstermunchkin committed Mar 4, 2025
1 parent 1e856d5 commit 846bde7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oidc/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"sync"
"time"

brickstransport "github.com/pace/bricks/http/transport"
"golang.org/x/oauth2"
)

Expand Down Expand Up @@ -89,6 +90,7 @@ func doRequest(ctx context.Context, req *http.Request) (*http.Response, error) {
if c := getClient(ctx); c != nil {
client = c
}
client.Transport = brickstransport.NewDefaultTransportChain()
return client.Do(req.WithContext(ctx))
}

Expand Down

0 comments on commit 846bde7

Please sign in to comment.