diff --git a/path_config.go b/path_config.go index 308f3a3f..6d137bac 100644 --- a/path_config.go +++ b/path_config.go @@ -413,9 +413,6 @@ func (b *jwtAuthBackend) createProvider(config *jwtConfig) (*oidc.Provider, erro ietripper, err := httputil.NewIgnoreUnhandledExtensionsRoundTripper(tp, oids) if err != nil { return nil, err - } - if config.OIDCDiscoveryCAPEM != "" { - } opts = append(opts, oidc.WithRoundTripper(ietripper)) } else if config.OIDCDiscoveryCAPEM != "" {