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

Jenkins CLI SSH auth does not return GitHub authorities

    Details

    • Similar Issues:

      Description

      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
      

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                • Created:
                  Updated: