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

OpenID Plugin redirects REST API requests also

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • openid-plugin
    • None
    • Windows. Java 1.7. SSL-only.

      As far as I can tell, the OpenID plugin prevents use of the REST API, even for its most obvious use to trigger build. A GET of a URL:

      https://username:apikey@jenkinshostname.domain.com/job/JobName/config.xml

      gets redirected for OpenID auth, which a REST API consumer, having provided an API key, does not expect to have to deal with.

      Is this broken? Workaround? Fix?

            kohsuke Kohsuke Kawaguchi
            kylecordes kylecordes
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: