This is a really exciting idea! Based on your patches, it seems to be a great opportunity to add extensibility and flexibility to the credential helper model without huge disruptions to the codebase. Well done! On 9/13/22 12:25 PM, Matthew John Cheetham via GitGitGadget wrote:
3. Teach Git to specify authentication schemes other than Basic in subsequent HTTP requests based on credential helper responses.
This!! Yes!!
... wwwauth=Bearer realm="login.example", scope="git.readwrite", Basic realm="login.example"
I think sending the fields individually (as you describe in this doc and implement in your patches) is the right call. In my opinion, it's more legible, consistent with the remote response, and aligns with your goal of minimizing authentication-related actions in Git. Best, Lessley