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

Add support for http.extraHeader for bearer token authentication

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-client-plugin
    • None

      Bearer Tokens are sometimes very useful to connect to git repositories. From principle what is needed here is a smart integration from the git plugin with a secret (secret text for instance) to achieve a git call with

      -c "http.extraHeader=Authorization: Bearer ..."
      

      Bitbucket documentation for HTTP access tokens:
      https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html

      Azure DevOps documentation for "Use personal access tokens":
      https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#use-a-pat

          [JENKINS-70897] Add support for http.extraHeader for bearer token authentication

          Marc Guillemot created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Component/s New: git-client-plugin [ 17423 ]
          Component/s Original: git-plugin [ 15543 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-72295 [ JENKINS-72295 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Git client plugin PR 1104 implement access token support (Web Link)" [ 29930 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Git plugin PR 1566 proposing personal access token support (Web Link)" [ 29931 ]

            Unassigned Unassigned
            mguillem Marc Guillemot
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: