-
Couldn't load subscription status.
- Fork 2.4k
Description
Today, GCM returns all credentials as username/password pairs, even if the credential is a token such as a PAT or bearer token. Git will also only issue a Basic HTTP authentication header based on the username/password from the helpers.
Starting in Git 2.46 it is now possible for credential helpers to advertise different types of credentials other than basic username/password pairs, and Git will correctly issue a Bearer HTTP authentication header.
Note that remotes have historically only had to deal with Basic authentication headers for the HTTP transport, so testing if the host supports the Bearer scheme will be required before opting a provider in to this behavior.
Author: @mjcheetham