Closed shazron closed 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.
express-basic-auth
Proxy-Authentication
This is described in the example in your basic-auth dependency: https://github.com/jshttp/basic-auth#example
basic-auth
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 theProxy-Authentication
header instead.This is described in the example in your
basic-auth
dependency: https://github.com/jshttp/basic-auth#example