From 1dcd20123423a8c8813f2ad3272bdd4bf107669b Mon Sep 17 00:00:00 2001 From: Alexander Verhaar Date: Fri, 23 Jul 2021 17:26:45 +0200 Subject: [PATCH] Fix to follow system proxy settings --- .../sonatype/nexus/plugins/okta/client/ApiHttpClientImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/sonatype/nexus/plugins/okta/client/ApiHttpClientImpl.java b/src/main/java/org/sonatype/nexus/plugins/okta/client/ApiHttpClientImpl.java index 8b71c6a..cdcfe96 100644 --- a/src/main/java/org/sonatype/nexus/plugins/okta/client/ApiHttpClientImpl.java +++ b/src/main/java/org/sonatype/nexus/plugins/okta/client/ApiHttpClientImpl.java @@ -29,7 +29,7 @@ public class ApiHttpClientImpl implements ApiHttpClient public ApiHttpClientImpl() { - this(HttpClients.createDefault()); + this(HttpClients.createSystem()); } public ApiHttpClientImpl(final CloseableHttpClient client)