SonarQube Keeps redirecting back to login

Hi ,

We are using SonarQube Version: 10.0.0.68432
Date: 2024-03-22 on non prod environment and trying to set up custom domain.
Sonarqube is hosted on one of our cloud linux service and it works very well.

But we are trying to hit it with custom domain it keeps on redirecting back to log in back. The network tab shows that /api/navigation/global is giving 401. Below is the screenshot for same.

Any help is appreciated

Hi,

What’s your authentication method?

 
Ann

Authentication done via registering an application in Azure Entra ID and providing right credentials in sonar.auth.aad properties in sonar.properties file

jar file used:- “sonar-auth-aad-plugin-2.0.0.jar”, “/opt/sonarqube/extensions/plugins/sonar-auth-aad-plugin-2.0.0.jar”

Hi,

Thanks for those details. That plugin isn’t supported here. You need to contact the plugin maintainers with your questions.

And at the same time, I think it’s worth pointing out that SonarQube natively supports SAML authentication, which I believe is also supported on the Azure Entra ID side.

 
HTH,
Ann

We have migrated top SAML as well. It still keeps redirecting back to login page some of the APIS giving 401.

Hi,

I’m not quite sure what I’m seeing in that screenshot.

What error message do you get? What errors, if any, show up in your server logs?

 
Ann