Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48423

Jenkins CLI SSH auth does not return GitHub authorities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • github-oauth-plugin
    • None

      When testing https://github.com/jenkinsci/github-oauth-plugin/pull/92 I learned that SSH authentication in Jenkins CLI does not properly return GitHub authorities.

      Note: it has never returned proper authorities but since resolving JENKINS-47113, it probably should.

      Example Jenkins CLI command which should return GitHub organizations and teams as authorities.

      java -jar jenkins-cli.jar -s http://localhost:8080/ -ssh -user samrocketman who-am-i
      

            sag47 Sam Gleske
            sag47 Sam Gleske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: