# Working with ExpressOIDC with proxy via nodejs

**URL:** <https://devforum.okta.com/t/working-with-expressoidc-with-proxy-via-nodejs/34317>\
**Category:** OAuth/OIDC\
**Tags:** nodejs\
**Created:** [September 16, 2025, 9:05am UTC](https://devforum.okta.com/t/working-with-expressoidc-with-proxy-via-nodejs/34317 "2025-09-16T09:05:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sensecherise](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@sensecherise](https://devforum.okta.com/u/sensecherise)\
**Post date:** [September 16, 2025, 9:05am UTC](https://devforum.okta.com/t/working-with-expressoidc-with-proxy-via-nodejs/34317/1 "2025-09-16T09:05:30Z")

</div>

Hi, i have been read documentation at [@okta/oidc-middleware - npm](https://www.npmjs.com/package/@okta/oidc-middleware?activeTab=readme#using-proxy-servers) and currently using v5.5.0

I got a problem that when i tried to use ExpressOIDC middleware with proxy

such as http-proxy, http-proxy-agent and tried working as document suggest

`const Issuer = require(‘openid-client’).Issuer;

Issuer.useRequest();

const oidc = new ExpressOIDC({  
…  
});`

but none of them works well, since request npm package deprecate in 2020

there is way to suggest for ExpressOIDC to working with proxy

**sorry for my bad grammar**

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [October 16, 2025, 9:05am UTC](https://devforum.okta.com/t/working-with-expressoidc-with-proxy-via-nodejs/34317/2 "2025-10-16T09:05:54Z")

</div>

Closed on October 16, 2025, 9:05am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
