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

RFE: allow crumbsIssuer to be accessible (configurable) anyone (ie: no credentials) for API access (ex: commit hooks)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None
    • Jenkins 2.46.3

      The `crumbsIssuer` should be accessible (configurable) to anyone (ie: anonymous) even if anonymous read access is disabled as it prevents access to the API for commit hooks that do not require explicit authentication.

      For example, in a commit hook that is trying to remotely trigger a build using an authentication token, the commit hook does not require specific username/password authentication.  However, in order to retrieve the necessary CSRF crumb to pass to the POST request, it requires authentication credentials to retrieve it from the `crumbsIssuer` endpoint.

       

      Steps to reproduce:

       

       

            Unassigned Unassigned
            benze Eric B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: