gitfourchette icon indicating copy to clipboard operation
gitfourchette copied to clipboard

OAuth via git-credential-manager seems not to work

Open istmichseegal opened this issue 7 months ago • 3 comments

On the command line I can do any operation (fetch, pull, push) without any problem while using git-credential-manager. Within gitfourchette I always get the following error:

Image

It seems that gitfourchette does not care about the settings in .gitconfig:

[credential] helper = helper = /usr/local/bin/git-credential-manager credentialStore = secretservice [credential "URL_redacted"] provider = generic

istmichseegal avatar May 12 '25 13:05 istmichseegal

Thanks for reporting this. Currently, GitFourchette is independent from git itself (it uses libgit2), so authentication with remotes is more limited than what is possible with vanilla git.

The "happy path" is to authenticate with ssh keys; credential helpers like git-credential-manager are not supported at the moment.

As this appears to be a common problem (e.g. #34), I'm considering to rework authentication to go through git itself to support your use case.

jorio avatar May 12 '25 22:05 jorio

Thanks for clarifying this. Unfortunately I'm bound to HTTPS and OAuth because my origin does not support SSH. Would be happy to see vanilla git as the underlying engine.

istmichseegal avatar May 13 '25 05:05 istmichseegal

GitFourchette v1.5.0 now uses vanilla git for remote operations. Hopefully it'll fit in better with your configuration!

jorio avatar Sep 09 '25 18:09 jorio