I just installed the newly released SonarQube 7.6 and I’m running it on Windows. I have IIS configured as a reverse proxy infront of it handling the SSL.
The proxy seems to break my SAML setup attempts! The URL that SonarQube should send me to gets rewritten to my own server name (should be adfs.corp.com, not sonarqube.corp.com).
Any ideas?
Has anyone successfully set up SAML 2.0 auth to Microsoft ADFS using IIS as a reverse proxy with SSL off-loading?
UPDATE:
We chose to dump the IIS reverse proxy config as it was breaking SAML requests from SonarQube’s SAML auth module. F5 BIG-IP was selected in our case. Google “iis reverse proxy breaks saml” for a possible solution if you need IIS.
UPDATE2: Here is one fix I tried, others have reported to see this working: https://forums.iis.net/t/1233866.aspx
Basically you need to skip the rewrite if a user is being redirected.
IIS is rewriting my SAML request that is supposed to contain the URL https://adfs.corp.com/adfs/realm/sonarqube. The browser should be redirected to that location and the login page displayed.
The IIS reverse proxy config in the blog post you guys link to in your documentation breaks this and needs to be updated to take into consideration the SAML module.
My solution to this was to dump IIS. We are using another product to front the SonarQube and handle SSL/TLS. In our case we chose F5 BIG-IP.
@jjs is your issue resolved. I am also facing similar issue where response supposed to be received at xyz.corp.abc.com domain however instead received at qwe.abc.com
I do have two proxy server one is in corp network and other outside
Please let me know if your issue got fixed, i will try the same approach