diff --git a/consent/strategy_default.go b/consent/strategy_default.go index a8f865bc058..de220e54ff0 100644 --- a/consent/strategy_default.go +++ b/consent/strategy_default.go @@ -68,20 +68,20 @@ const ( ) type DefaultStrategy struct { - c *config.Provider - r InternalRegistry - tlsClientConfig *tls.Config + c *config.Provider + r InternalRegistry + backChannelClientTlsConfig *tls.Config } func NewStrategy(r InternalRegistry, c *config.Provider) *DefaultStrategy { - tlsClientConfig, err := c.TLSClientConfigWithDefaultFallback(config.KeyPrefixClientBackChannelLogout) + backChannelClientTlsConfig, err := c.TLSClientConfigWithDefaultFallback(config.KeyPrefixClientBackChannelLogout) if err != nil { r.Logger().WithError(err).Fatalf("Unable to setup backchannel logout request client TLS configuration.") } return &DefaultStrategy{ - c: c, - r: r, - tlsClientConfig: tlsClientConfig, + c: c, + r: r, + backChannelClientTlsConfig: backChannelClientTlsConfig, } } @@ -705,7 +705,7 @@ func (s *DefaultStrategy) executeBackChannelLogout(ctx context.Context, r *http. httpx.ResilientClientWithClient(&http.Client{ Timeout: time.Minute, Transport: &http.Transport{ - TLSClientConfig: s.tlsClientConfig, + TLSClientConfig: s.backChannelClientTlsConfig, }, })) wg.Add(len(tasks))