Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
– sonarqube-9.0.1.46107 - how is SonarQube deployed: zip, Docker, Helm
– zip - what are you trying to achieve
– integrate Azure AD for Single Sign On - what have you tried so far to achieve this
We are working on integrating Azure AD with Sonarqube instance for Single Sign On. We have followed the documentation below and created the resources in Azure and enabled the SAML Authentication in Sonarqube but we are not able to login using SAML and seeing below error.
Documentation followed:
https://learn.microsoft.com/en-us/azure/active-directory/saas-apps/sonarqube-tutorial
Error in Sonarqube :
2023.09.04 09:47:42 ERROR web[AYpgqX9q95zYrSHOAAAy][c.o.s.a.SamlResponse] The response was received at http://sonarqube.transplace.com/oauth2/callback/saml instead of https://sonarqube.transplace.com/oauth2/callback/saml
2023.09.04 09:47:42 ERROR web[AYpgqX9q95zYrSHOAAAy][c.o.saml2.Auth] processResponse error. invalid_response
We then have tried to update the SSL Profile Settings in F5 Load Balancer but that didn’t work too. We were not able to load the Sonarqube website when tried with this setting, so we rolled back.
Moved the highlighted SSL secure option to Selected field to apply the SSL Profile.
We currently have this Secure Connection field as empty, do we need to select the ssl option in order to make this work ?
We only have one Sonarqube instance, so we are not able to test this.
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!