{"thread":{"id":"58765","subject":"git-credential-oauth","startedAt":"2022-11-08T11:12:47Z","lastAt":"2022-11-08T11:12:47Z","messageCount":1,"participants":["M Hickford"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"466813","messageId":"CAGJzqs=+fCQzkDX53H8Mz-DjXicVVgRmmzPjkatSiOpYO7wGGA@mail.gmail.com","threadId":"58765","inReplyTo":null,"subject":"git-credential-oauth","fromName":"M Hickford","fromEmail":"mirth.hickford@gmail.com","sentAt":"2022-11-08T11:12:03Z","receivedAt":"2022-11-08T11:12:47Z","isPatch":false,"sender":{"key":"mirth.hickford@gmail.com","avatar":"https://avatars.githubusercontent.com/u/105314?v=4"},"body":"Hi all. I'm excited to share git-credential-oauth, a Git credential\nhelper that securely authenticates to GitHub, GitLab, BitBucket and\nother forges using OAuth.\nhttps://github.com/hickford/git-credential-oauth\n\nThe target user currently uses personal access tokens with\ngit-credential-store or git-credential-cache. I suspect most readers\nof this list use SSH keys to authenticate, but you're welcome to try\nit out with HTTPS remotes.\n\n> The first time you push, the helper will open a browser window to authenticate. Subsequent pushes within the cache timeout require no interaction.\n\nThis read-only credential-generating helper is designed to be used in\nconjunction with existing storage helpers. It's neat how the\ncredential system supports multiple helpers. With the config below,\nGit checks the cache for a stored credential before generating a fresh\ncredential.\n\n> [credential]\n>   helper =\n>   helper = cache --timeout 7200 # two hours\n>   helper = oauth\n\nComments and suggestions welcome.\n\nps. Git Credential Manager already has this feature so why another\nhelper? git-credential-oauth is a simpler app that just does OAuth.\nIt's developed in Go so should be easy to package for Linux distros.\nThe install size is smaller.  For a full comparison, see\nhttps://github.com/hickford/git-credential-oauth#comparison-with-git-credential-manager\n.\n"}]}