# Jupyterhub oauthenticator

**URL:** <https://discourse.jupyter.org/t/jupyterhub-oauthenticator/38427>\
**Category:** JupyterHub\
**Created:** [February 19, 2026, 8:37pm UTC](https://discourse.jupyter.org/t/jupyterhub-oauthenticator/38427 "2026-02-19T20:37:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oharach1](https://avatars.discourse-cdn.com/v4/letter/o/848f3c/32.png) [@oharach1](https://discourse.jupyter.org/u/oharach1)\
**Post date:** [February 19, 2026, 8:37pm UTC](https://discourse.jupyter.org/t/jupyterhub-oauthenticator/38427/1 "2026-02-19T20:37:20Z")

</div>

Does anyone has been implementing the utilization of a proxy to get connection with Authenticator provider? We are running into challenges to enable a proxy to get connection. We are using currently oauthenticator

Traceback (most recent call last):  
File “/opt/app-root/lib64/python3.11/site-packages/tornado/web.py”, line 1859, in \_execute  
result = await result  
^^^^^^^^^^^^  
File “/opt/app-root/lib64/python3.11/site-packages/oauthenticator/oauth2.py”, line 217, in get  
user = await self.login\_user()  
^^^^^^^^^^^^^^^^^^^^^^^  
File “/opt/app-root/lib64/python3.11/site-packages/jupyterhub/handlers/base.py”, line 754, in login\_user  
authenticated = await self.authenticate(data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/opt/app-root/lib64/python3.11/site-packages/jupyterhub/auth.py”, line 469, in get\_authenticated\_user  
authenticated = await maybe\_future(self.authenticate(handler, data))  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/opt/app-root/lib64/python3.11/site-packages/oauthenticator/generic.py”, line 200, in authenticate  
resp = await http\_client.fetch(req)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
ConnectionRefusedError: [Errno 111] Connection refused

Thanks for your help in advanced.

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [February 24, 2026, 11:11am UTC](https://discourse.jupyter.org/t/jupyterhub-oauthenticator/38427/2 "2026-02-24T11:11:32Z")

</div>

Are you trying to use a forward proxy between the hub and your IDP, or are you trying to disable a forward proxy that’s configured by default?

Can you share your full JupyterHub configuration, including any environment variables you’ve set in your startup scripts?

Could you also turn on debug logging and share your logs?
