JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros

Home Page:https://gitnuro.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS: authentication not supported

Knayd opened this issue · comments

Describe the bug
When trying to push I get "authentication not supported" message. The repository is publicly hosted on Github and my auth flow is as basic as it gets: username + auth token (which is basically a password). Pulling works as long as the repo is public, but trying to pull from a private repo results on the same message being shown. Pushing/pulling from the command line works as expected. Is there any extra step needed to get the auth working on mac?

  • OS: macOS Ventura 13.2.1
  • Gitnuro 1.3.0 (app bundle contained in the zip)

Found the solution:
macOS has a built in credential manager named git-credential-osxkeychain, I only needed to specify the full path of the bin in my global .gitconfig (the same as if you were using Git Credential Manager), so it ended up looking like this:

[credential]
	helper = /usr/local/git/bin/git-credential-osxkeychain

It might be worth to add this to the authentication section on the README.md in case someone else runs into the same issue.

Thanks a lot for the project, been loving it so far!