- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) : Sonar Qube Version: v9.9.5 (build 90363)
- how is SonarQube deployed: zip, Docker, Helm: : We use SonarQube Developer Edition, hosted on Windows
- what are you trying to achieve: SAML integration
- what have you tried so far to achieve this: SAML
Ping Federate SSO is working, able to login to Sonar Qube with Email authentication.
Post login on the Users section I could see unique name generated for each user as login. How I can map that to the employeeID I am getting from the SAML.
Hey @raavimanu
When a user is created in SonarQube, an internal ID is created, which you’ve highlighted in yellow.
If you really needed to, you could chase behind SonarQube and use POST api/users/update_login to match your identity provider.
However, the only time you would probably need this User ID is if you were performing some automation of users/permissions on your SonarQube instance. In SonarQube v10.5, we introduced GET /api/v2/users-management/users that allows querying by the user’s external ID (manogna.raav@alight.com, manojkumar.kopparapu@alight.com…) to obtain this internal ID for automation.
The value used for the internal ID is not configurable.
@Colin , we have upgraded the Sonar, now we are using the Enterprise version v2025.1 (102418). In this can you share the details how yo update the Unique ID with the employee ID from SSO.
For the Ping Federate if we enable automatic SCIM provisioning, if user logins second time will the group details get updated in the Sonar.