OpenID Plugin redirects REST API requests also

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: openid-plugin
    • None
    • Environment:
      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?

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

              Created:
              Updated: