Hello,
What SAML integrations are compatible with SonarQube and SonarCloud. Is PingID SAML integration possible in these ?
Hello,
What SAML integrations are compatible with SonarQube and SonarCloud. Is PingID SAML integration possible in these ?
Hi @binita_nayak,
We support SAML 2.0 for SonarQube (you cannot authenticate to SonarCloud using SAML). Any IdP compatible with SAML 2.0 should work. See the documentation here.
Cheers.
I have a problem in configuring the SAML Auth with my SonarQube instance. The documentation in the official page is bit confusing.
My concerned points are -
Yes, sonar.core.serverBaseURL
can be set in conf/sonar.properties
. Any setting starting with sonar.*
can be set in that file (most of them can also be set through the UI, under Administration; which is the case for all SAML settings).
We do not document all SAML IdPs . Itâs a standard protocol, so on SonarQubeâs side, the settings we detail (pretty profusely, I might add) for KeyCloak will usually apply as well (at least, you will find the same basic principles: a SP âidentifierâ, a callback URL, and a signed certificate). Usually, most of the config is done on the IdP, not the SP. The SP (SonarQube in this case) will âonlyâ map values from the payload to user fields it knows.
I donât know about PingID, so I cannot help you. But Iâm pretty sure that, if you find any tutorial on setting up PingID with another service, the main steps will translate very well to SonarQube (again: SAML is standard, thereâs nothing highly specific in SonarQubeâs UI).
Unless you encounter issues that need troubleshooting, after setting everything up. But if thatâs the case, please give more details.
After successful SAML login, I get landed in the login page again. Is it a configuration issue from the IDP side or SP end ?
The Entity ID and ACS url such as https://mydomain.com/auth/realms/sonarqube/protocol/saml set somewhere in the sonar.properties or in UI or from the IDP end ?
Looks like an SP-end config issue. Did you follow the documentation I linked to? Thereâs a section called In SonarQube, which should be fairly similar to your setup.
Hey @binita_nayak
Just an update: we recently launched SonarCloud Enterprise, which includes support for SAML authentication!