No option to provide login identifier via SAML

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Enterprise 8.9.7.52159
  • There is no possibility to set the user property “login” via claim when using SAML.
  • It just randomly generates some username.
  • This is especially problematic when we try to migrate users from LDAP to SAML, because it becomes impossible to migrate users since you introduced this behaviour.
    (Migration of Existing LDAP users to SAML Failed - Possible Bug)

should probably happen here somewhere:

Also sonarqube/SamlSettings.java at ca4aa60e6e087819e2c1445ef49b8c5ab8e82b76 · SonarSource/sonarqube · GitHub does not affect the login
of the user, but is the external identity. That’s a bit misleading