GitHub token hygiene for AI agents: PATs, fine-grained tokens, GitHub Apps, and OAuth.
GitHub token hygiene for AI agents: PATs, fine-grained tokens, GitHub Apps, and OAuth
GitHub offers four ways to authenticate an AI agent and they are not interchangeable. A ranked deep-dive on scope, lifetime, revocation, and audit attribution, with copy-pasteable examples.