git-token-auth - Token-only Git HTTPS authentication for shared environments

git-token-auth is a lightweight, zero-dependency Git credential helper built for shared dev environments (VMs, jump hosts). It removes the redundant 'Username' prompt during HTTPS authentication, asking exclusively for your Personal Access Token (PAT). Zero disk persistence, seamless CLI setup, and accurate audit trails.

Add a comment

Replies

Best
Hey Product Hunt! 👋 I built git-token-auth to solve a daily friction point when working in shared development environments like VMs or jump hosts. Since GitHub deprecated password authentication, standard Git HTTPS prompts require entering a username—even though GitHub ignores it when you provide a valid Personal Access Token (PAT). Typing "a" or a dummy username before pasting a token every time gets annoying fast. Plus, storing global credentials in shared environments is a security risk. git-token-auth is a zero-dependency CLI credential helper that overrides local repository settings to prompt ONLY for your PAT. Key features: • Single-prompt authentication (only asks for PAT) • Zero disk persistence (tokens exist only in memory during execution) • Accurate audit trails per developer • Simple one-line repo setup (`git-token-auth init`) It’s completely open-source. I’d love to hear your thoughts, feedback, or suggestions! 🚀