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.