SonarQube Keeps redirecting back to login

Hi ,

We are using SonarQube Version:
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


What’s your authentication method?


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

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


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.


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


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?