Add support for http.extraHeader for bearer token authentication

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: 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

            Assignee:
            Unassigned
            Reporter:
            Marc Guillemot
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: