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.
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”
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.