• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • openid-plugin
    • None
    • Fedora 14 x86_64
      Google OpenID provider

      I've configured Jenkins to use Google's OpenID provider in conjunction with matrix-based security, and I cannot log in using the CLI:

      $ jenkins-cli --username xxx@xxx.com --password xxx
      Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
      	at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:61)
      	at hudson.cli.CLI.<init>(CLI.java:91)
      	at hudson.cli.CLI.<init>(CLI.java:63)
      	at hudson.cli.CLI.main(CLI.java:176)
      

          [JENKINS-8925] Cannot use CLI when using OpenID

          Bryan O'Sullivan created issue -
          Bryan O'Sullivan made changes -
          Description Original: I've configured Jenkins to use Google's OpenID provider in conjunction with matrix-based security, and I cannot log in using the CLI:

          {{
          $ jenkins-cli --username xxx@xxx.com --password xxx
          Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
          at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:61)
          at hudson.cli.CLI.<init>(CLI.java:91)
          at hudson.cli.CLI.<init>(CLI.java:63)
          at hudson.cli.CLI.main(CLI.java:176)
          }}
          New: I've configured Jenkins to use Google's OpenID provider in conjunction with matrix-based security, and I cannot log in using the CLI:

          {noformat}
          $ jenkins-cli --username xxx@xxx.com --password xxx
          Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
          at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:61)
          at hudson.cli.CLI.<init>(CLI.java:91)
          at hudson.cli.CLI.<init>(CLI.java:63)
          at hudson.cli.CLI.main(CLI.java:176)
          {noformat}
          Bryan O'Sullivan made changes -
          Summary Original: Cannot use CLI to log in when using OpenID New: Cannot use CLI when using OpenID
          Monty Taylor made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139069 ] New: JNJira + In-Review [ 204927 ]

            Unassigned Unassigned
            bos Bryan O'Sullivan
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: