I’m facing an encoding issue with HTTP Headers authentication. You will noticed that my first name is François with a nice “ç”. I wonder how sonarqube is reading the HTTP Headers and what are the supported encoding format. How to write the header (define in the property “sonar.web.sso.nameHeader”) to let sonarqube read it properly ?
Normally, the Tomcat server makes sure everything is UTF-8 encoded. However, there are cases where the payload may get double-encoded. In your case, if you can set the HTTP request headers’ encoding to ISO-8859-1, it should work.
POC, where I configured a NginX as a reverse proxy, and hard-coded the headers (encoded in ISO-8859-1):