How to add username at login page when HTTP header is sent by proxy

Hi all,

I have NC 13 deployed behind an HAProxy implementation. HAProxy is terminating SSL traffic and the communication between HAProxy and NC is HTTP via 80.

HAProxy extracts common name from client certificates and stores it on HTTP Header X-SSL-Client-CN which is presented to NC server as a HTTP Header.

Now I need to change the initial NC www.domain.com/index.php/login page to add at the end “?user=username” being that username the value inside the X-SSL-Client-CN header, so that users don’t need to write down their logins. If then the login box could be read-only would be great :smiley:

How can I accomplish that?