git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: gitcredentials: introduce OAuth helpers

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
May 28, 2023, 22:51 UTC
Message-ID
<ZHPa27fbAoKL0uGj@tapette.crustytoothpaste.net>
In-Reply-To
<pull.1538.git.1685303127237.gitgitgadget@gmail.com>
On 2023-05-28 at 19:45:27, M Hickford via GitGitGadget wrote:
Show 6 quoted lines
> From: M Hickford <mirth.hickford@gmail.com>
> 
> OAuth credential helpers are widely useful but work differently to other
> credential helpers, so worth introducing in the docs.
> 
> Link to relevant projects.

There are many possible implementations of credential helpers, and I'd prefer we didn't specifically propose any of them here. We ship with some in contrib, and I think it would be better to fix them to be functional for this use case rather than link to external projects.

I expect, however, that functionally, that will be difficult to do, given the fact that OAuth typically requires registration with the remote system, and thus we'd intrinsically be prioritizing some well-known forges over less-known or personally-hosted forges, which we've traditionally tried not to do. For example, your git-credential-oauth contains a hard-coded list of 11 forges (and also proposes adding credentials for new ones into the config, which isn't really a secure way to store secrets).

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: M Hickford via GitGitGadgetNext: M Hickford
Message 2 of 7 in “doc: gitcredentials: introduce OAuth helpers”
  1. doc: gitcredentials: introduce OAuth helpersM Hickford via GitGitGadget, May 28, 2023
  2. brian m. carlsonMay 28, 2023
  3. M HickfordMay 29, 2023
  4. M HickfordJun 21, 2023
  5. doc: gitcredentials: link to helper listM Hickford via GitGitGadget, Jun 21, 2023
  6. Jeff KingJun 27, 2023
  7. doc: gitcredentials: link to helper listM Hickford via GitGitGadget, Jul 8, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.