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

Jenkins CLI SSH auth does not return GitHub authorities

    • 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
      

          [JENKINS-48423] Jenkins CLI SSH auth does not return GitHub authorities

          Sam Gleske created issue -
          Sam Gleske made changes -
          Link New: This issue relates to JENKINS-47113 [ JENKINS-47113 ]
          Sam Gleske made changes -
          Remote Link New: This issue links to "pr 92 where bug was discovered (Web Link)" [ 19304 ]
          Sam Gleske made changes -
          Description Original: 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.
          New: 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.

          {noformat}
          java -jar jenkins-cli.jar -s http://localhost:8080/ -ssh -user samrocketman who-am-i
          {noformat}
          Sam Gleske made changes -
          Link New: This issue relates to JENKINS-43767 [ JENKINS-43767 ]

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

              Created:
              Updated: