go-githubauth
GitHub App authentication for Go: installation tokens, JWTs and PATs as oauth2.TokenSource, plus webhook signature verification and KMS/HSM signing
What XERJ indexed
Snapshot
The whole repository at commit bf40e4ff2b (2026-09-19). main is 49 commits ahead.
Selected work

“distinguish failures by exit code and add --exec to the CLI”. 11 files, 1,035 lines in cmd/githubauth, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
githubgithub-authenticationgooauth2authenticationgithub-apigithub-appsgolang
Example questions
- How does go-githubauth implement github?
- Where does go-githubauth handle “distinguish failures by exit code and add --exec to the CLI”?
- What does cmd/githubauth do in go-githubauth?
Inside the indexed corpus
- 43 files, 298.2 KB in total, about 6.9 KB per file.
- The selected commit changed 11 of those files (25.6%).
- On GitHub since 2024-06-01, last push 2026-10-31, 248 commits on main.
- The pin is 49 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for jferrl/go-githubauth on 2026-10-31, and the LICENSE file at commit bf40e4ff2b was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Jorge Ferrero (@jferrl) has 1 selected repository on the hub.
Using XERJ with go-githubauth
- Batch lookup CVE and GHSA IDs offline in one query The hub files it under Security and vulnerabilities.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones jferrl/go-githubauth at the pinned commit and indexes it on your machine.
Search the GitHub repository jferrl/go-githubauth with XERJ (https://hub.xerj.org/corpus/jferrl--go-githubauth). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/jferrl/go-githubauth go-githubauth && git -C go-githubauth checkout bf40e4ff2b0cea99e9287913c217b7ba4704d587 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./go-githubauth --url http://127.0.0.1:9200 --prefix go-githubauth --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Jorge FerreroSecurity and vulnerabilities corporajwxgolang-jwtgrpc-goKaikeGM/zerojwtdescope/go-sdkgo-gitea/gitea
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.