Error after upgrading to sonarqube-8.9.7

Must-share information (formatted with Markdown):

  • sonarqube-8.9.7
  • Upgrading from sonarqube-7.9.2 to 8.9.7 CE
  • Not finding suitable solution, When I tried to login from SAML(OKTA). Getting below error

Error:
Reason: The response was received at http://sonarqube.mydomain.net/oauth2/callback/saml instead of https://sonarqube.mydomain.net/oauth2/callback/saml

Hi,

Welcome to the community!

As mentioned in this guide SAML got a little more strict between 7.9 and 8.9. Even though the guide talks about IIS, can you take a look and see if it makes sense for you?

 
Ann

Hi Ann,
Thanks for the information, In my case its linux, I’m unable locate similar configuration for linux. Any inputs will be appreciated.

Thanks,
Andy

Hi Andy,

This shouldn’t be OS-related.

First, your Identity Provider must be aware it should redirect to an HTTPS URL rather than HTTP. This can be accomplished by adding the server variable HTTP_X_FORWARDED_PROTO set to https in your Reverse Proxy Inbound Rule

be sure that host headers are preserved.

Can you take another look?

 
Ann