Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      None
    • Production Notes:
      None

      Description

      Description
      When a user is member of more than 30 teams in GitHub, only the first 30 teams will be synchronized when authenticated in SonarQube.

      Technical details
      We use /api/v3/user/teams to get the list of his teams.
      As any GitHub answer returning multiple results, 30 results max will be returned, then paginated.
      In org.sonarsource.auth.github.GitHubIdentityProvider#getTeams, we do not loop for multiple pages.
      So if the organisation(s) allowed to authenticate (sonar.auth.github.organizations) is not part of this 30 first bunch, the auth will fail.

      Workaround

      • Delete the GH user from SonarQube
      • Create an analogous (same email and/or SCM accounts) local account for the user

      The user will be able to log in manually using the "More options" link on the login page, and the new local account should transparently pick up the issues previously assigned to the old account.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.lancelot Julien Lancelot
                Reporter:
                julien.lancelot Julien Lancelot
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: