[
https://issues.jenkins-ci.org/browse/JENKINS-8925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sdirector closed JENKINS-8925.
------------------------------
Resolution: Fixed
This now works, actually. If you log in as a user via openid, it creates an
auth token for that user which can be used in subsequent requests.
> Cannot use CLI when using OpenID
> --------------------------------
>
> Key: JENKINS-8925
> URL: https://issues.jenkins-ci.org/browse/JENKINS-8925
> Project: Jenkins
> Issue Type: Bug
> Components: openid
> Environment: Fedora 14 x86_64
> Google OpenID provider
> Reporter: Bryan O'Sullivan
>
> 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 [email protected] --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}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira