Uploaded image for project: '[DEPRECATED] SonarQube AUTH GitHub'
  1. [DEPRECATED] SonarQube AUTH GitHub
  2. SQAUTHGITH-11

Use GitHub GET /user/emails API to retrieve user emails

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      When the email is not public in the GitHub account, using "GET /users/:username" doesn't returned any email (https://developer.github.com/v3/users/#get-a-single-user).

      It's possible to retrieve every emails of the users by using "GET /user/emails" (https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user).
      Then, we should use the primary email to be used by SonarQube.

        Attachments

          Activity

            People

            • Assignee:
              evgeny.mandrikov Evgeny Mandrikov
              Reporter:
              julien.lancelot Julien Lancelot
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: