Start Debugging

github-apps

1 post

How to Authenticate a GitHub Copilot SDK Service as a GitHub App with the Copilot Requests Permission

Run the GitHub Copilot SDK from a backend service with no signed-in user: create a GitHub App with the read-only Copilot Requests organization permission, mint a one-hour ghs_ installation token, pass it through gitHubToken with useLoggedInUser false, and rotate it before it expires. Covers the GitHub Actions shortcut, billing to the organization, the troubleshooting table, and why gitHubTokenProvider cannot hold installation tokens. @github/copilot-sdk 1.0.34, public preview since October 27, 2026.