API to validate github access key and retrieve scopes

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In Scope

      • New plugin blueocean-github where the REST and UI for Github integration will live.
      • Exposes a REST API to validate an access token against a github API endpoint
      • returns OK or error with message (e.g. "scopes were missing")
      • Allow any github endpoint (e.g. https://api.github.com or http://github.internal.corp/api)

      Notes

      • Any REST call to Github will return a header X-OAuth-Scopes with a comma separated list of scopes available for the credentials you are using
      • The best REST call to make would be the /user endpoint that returns the authenticated users identity

            Assignee:
            Unassigned
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: