Open
Description
Hi, I have api on iis server behind basic windows authentication and i cannot use cors. So I tried to use this module but however I configure it I cannot log into api and I get 401 every time
I tried
server.middleware = proxyMiddleware(
'/api',
{
target: 'API_HOST',
logLevel: 'debug'
}
);
server.middleware = proxyMiddleware(
'/api',
{
target: 'API_HOST',
logLevel: 'debug',
auth: 'LOGIN:PASS'
}
);
server.middleware = proxyMiddleware(
'/api',
{
target: 'http://LOGIN:PASS@API_HOST',
logLevel: 'debug'
}
);