diff --git a/src/keycloak/connection.py b/src/keycloak/connection.py index f7b8ffd..a709713 100644 --- a/src/keycloak/connection.py +++ b/src/keycloak/connection.py @@ -102,7 +102,7 @@ class ConnectionManager(object): if proxies: self._s.proxies.update(proxies) - self.async_s = httpx.AsyncClient(verify=verify, proxies=proxies, cert=cert) + self.async_s = httpx.AsyncClient(verify=verify, mounts=proxies, cert=cert) self.async_s.auth = None # don't let requests add auth headers self.async_s.transport = httpx.AsyncHTTPTransport(retries=1)