tool · inferred from evidence
gh auth status
A command within the gh CLI to check the current authentication status.
- The token in default is invalid. To re-authenticate, run: gh auth login -h github.com
Fixes 'The token in default is invalid' from the gh CLI by re-running gh auth login for the host. Use when stored gh credentials expire or are revoked. Not for env-var-overridden auth or scope errors.