You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found out GitHub organizations can now restrict how you can authenticate against them:
▸ hub clone aikidosec/firewall-node
github.com username: foca
github.com password for foca (never stored):
Error getting repository info: Forbidden (HTTP 403)
`AikidoSec` forbids access via a personal access token with fine-grained permissions. Please use a GitHub App, or an OAuth App.
A workaround (that worked for me, on macOS) was to open Keychain Access, search for the gho_* token generated for git-credential-manager, and copy that into ~/.config/hub.
It would be ideal if Hub used an OAuth app / GitHub App for authentication, though, to avoid having to do this.
The text was updated successfully, but these errors were encountered:
I just found out GitHub organizations can now restrict how you can authenticate against them:
A workaround (that worked for me, on macOS) was to open Keychain Access, search for the
gho_*
token generated forgit-credential-manager
, and copy that into~/.config/hub
.It would be ideal if Hub used an OAuth app / GitHub App for authentication, though, to avoid having to do this.
The text was updated successfully, but these errors were encountered: