Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12475

Drop login generation strategy when using an Identity Provider

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      Description

      When using an Identity Provider (GitHub, GitLab, Azure DevOps, etc.), the login generated by SonarQube has no interest for the user, and it should not be the responsibility of the plugin to specify the format of this login.

      Implementation

      In the UI

      In settings of identity providers (Administration -> Security), all settings Login generation strategy should be removed.

      In the Java API

      In the Java Authentication API used by community plugins, UserIdentity#setLogin should be deprecated as it won't have any effect anymore.

      Update of api/users/update_login

      This web service is used to update the login used by SonarQube. When the user is a local one or a user created by a Realm (eg LDAP), the provider login should now also be updated

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacek.poreda Jacek Poreda
                Reporter:
                julien.lancelot Julien Lancelot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: