Gerrit support for git-credential-oauth "no more generate password"

49 views
Skip to first unread message

Matt Hickford

unread,
Mar 20, 2023, 3:12:10 AM3/20/23
to repo-d...@googlegroups.com
If you use Git HTTPS remotes but don't like generating passwords [1]
or saving cookies in plaintext [2], you might be interested in
git-credential-oauth https://github.com/hickford/git-credential-oauth

> git-credential-oauth is a Git credential helper that securely authenticates to GitHub, GitLab, BitBucket and other forges using OAuth. The first time you push, the helper will open a browser window to authenticate. Subsequent pushes within the cache timeout require no interaction.

Recent versions include support for Gerrit subdomains of
googlesource.com including https://android.googlesource.com/ . If you
know any other public Gerrit instances that accept OAuth credentials,
please reply here or send a pull request following example [3].

Feedback welcome

[1] https://gerrit-documentation.storage.googleapis.com/Documentation/3.7.1/user-upload.html#http
[2] https://www.googlesource.com/new-password
[3] https://github.com/hickford/git-credential-oauth/blob/f8a02c9d9ef205d8d4efd95aa3e3a0571517346c/main.go#L99-L103
Reply all
Reply to author
Forward
0 new messages