diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/config/AbstractJettyConfig.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/config/AbstractJettyConfig.java index a68f0302f..f401081b5 100644 --- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/config/AbstractJettyConfig.java +++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/config/AbstractJettyConfig.java @@ -429,7 +429,7 @@ private Duration oidcClientConnectTimeout() private Proxy oidcClientProxy() { ProxyConfig config = new ProxyConfigImpl(proxyUrl, proxyUsername, proxyPassword, proxyNoProxy); - if (config.getUrl() != null && config.isNoProxyUrl(oidcProviderRealmBaseUrl)) + if (config.getUrl() != null && !config.isNoProxyUrl(oidcProviderRealmBaseUrl)) { try {