Welcome! Log In Create A New Profile


proxy-authenticate with nginx as proxy server

Posted by jordan_heath_sel 
proxy-authenticate with nginx as proxy server
June 08, 2020 03:00PM
Hello. I am having trouble with authentication when using nginx as a proxy server.

I am using the ngx_http_auth_pam_module for proxy authentication on the proxy server. I want this to return a 407 error code and the Proxy-Authenticate header to the client on connect. I patched the ngx_http_auth_pam_module to return a 407 error code instead of a 401.

The client is getting a 407 error code back, but I am not seeing any authentication box pop up on both firefox and chrome. On chrome, I am getting a ERR_UNEXPECTED_PROXY_AUTH error when trying to connect to the proxy server.

I did notice that the 407 error was commented out in nginx source code, but I don't know why. Does anyone have any experience with authentication using Proxy-Authenticate?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready