LionC / express-basic-auth

Plug & play basic auth middleware for express
328 stars 57 forks source link

feat: add Proxy-Authorization header support #38

Closed shazron closed 3 years ago

shazron commented 3 years ago

When using express as a proxy server using node-http-proxy, and express-basic-auth as middleware, this middleware needs to get the authorization from the Proxy-Authentication header instead.

This is described in the example in your basic-auth dependency: https://github.com/jshttp/basic-auth#example