SonarQube 8.4 SAML metadata

I’m trying to enable SAML authentication on SonarQube 8.4 running on Kubernetes (GKE) environment.
Where can I get SSO documentation along with their Metadata required for SAML so that we can have the correct settings within Azure AD? There are instructions on configuring SAML at SonarQube end but my IAM team is asking for “Application Metadata, Application Entry ID (APP URL), App Reply URL and Sign On URL”, any idea where i can find this information ?


Hi @krishnaarani,

Have you checked this tutorial?

This will give you an idea on what values to provide.

Here’s an example based on that aforementioned tutorial that I went through and annotated:
(Make sure to update your sonar.core.serverBaseURL in SonarQube also!)


There is no documentation or configuration options to identify the Service Provider metadata
Sonarqube neither publishes sp metadata in xml format, nor share the ACS URL
The entityID and ACS URL are critical information that sonarqube must provide to achieve SAML integration with any provider.

In my case I had to make a guess that the SP entityId is same as base URL
and ACS URL had to be sniffed out by capturing a SAML trace.
which would be

<base URL>/oauth2/callback/saml

This should be documented. Thanks

1 Like

I am in the same situation, the provider of our company IdP wants a meta-data XML file and is not satisfied with the entityId and callback URL I provided.
So I will have to fake something here.

1 Like