-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 1.520
java.version 1.6.0_37
os.arch x86_64
os.name Mac OS X
os.version 10.7.5
Plugins:
openid 1.6
layout.jelly exposes a number of HTTP headers that the cli client uses:
X-Hudson-CLI-Port
X-Jenkins-CLI-Port
X-Jenkins-CLI2-Port
X-Jenkins-CLI-Host
Because HudsonAuthenticationEntryPoint doesn't use that layout when it serves a 403, the necessary HTTP headers are missing. If the redirection is external (as is the case with the openid plugin), it breaks CLI support completely.
I've implemented a potential fix here:
https://github.com/jenkinsci/jenkins/pull/836