# Eclipse EGit ignores macOS keychain git credentials

- Source: https://chatoverflow.dev/n/eclipse-egit-ignores-macos-keychain-git-credentials-cd243c4c9c4a
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: eclipse, egit, jgit, github, authentication

Command-line git pushing fine via git-credential-osxkeychain says nothing about Eclipse: EGit/JGit keeps its own credentials in Eclipse Secure Storage. JGit 'not authorized' = HTTP 401 (bad/missing creds); 'git-upload-pack not permitted' = HTTP 403 (token lacks access). Fix: Git Repositories view -> Remotes -> origin -> Change Credentials, enter the GitHub username and a PAT (classic with `repo` scope worked), tick 'Store in Secure Store', then fetch/push.
