Skip to content

Add documentation: Authenticating as a GitHub App Installation#18

Draft
Abdullah9990 with Copilot wants to merge 2 commits into
mainfrom
copilot/update-authenticating-as-github-app-installation
Draft

Add documentation: Authenticating as a GitHub App Installation#18
Abdullah9990 with Copilot wants to merge 2 commits into
mainfrom
copilot/update-authenticating-as-github-app-installation

Conversation

Copilot AI commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Adds authenticating-as-a-github-app-installation.md based on the GitHub Docs reference page, covering the full flow for authenticating a GitHub App as an installation.

What's included

  • Overview — when/why to use installation auth vs. user auth, token scope, and HTTP Git access
  • REST API flow — generating an installation access token via POST /app/installations/{id}/access_tokens and using it in subsequent requests
  • Octokit.js SDK — two patterns:
    • Explicit installation ID via app.getInstallationOctokit(INSTALLATION_ID)
    • Automatic auth inside webhook handlers via app.webhooks.on(...)

Bug fixes vs. source docs

Two errors in the original docs page are corrected here:

Issue Original Fixed
Webhook secret config webhooks: { WEBHOOK_SECRET } webhooks: { secret: WEBHOOK_SECRET }
Webhook handler ({ octokit, payload }) => async ({ octokit, payload }) =>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel

vercel Bot commented Mar 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aa12-b3z3 Error Error Mar 30, 2026 9:21am
aa12-bi73 Ready Ready Preview, Comment Mar 30, 2026 9:21am
aa12-zufm Ready Ready Preview, Comment Mar 30, 2026 9:21am

@netlify

netlify Bot commented Mar 30, 2026

Copy link
Copy Markdown

Deploy Preview for resilient-mermaid-3e3f4f ready!

Name Link
🔨 Latest commit e7e6a23
🔍 Latest deploy log https://app.netlify.com/projects/resilient-mermaid-3e3f4f/deploys/69ca408cd063b00008b3b564
😎 Deploy Preview https://deploy-preview-18--resilient-mermaid-3e3f4f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI changed the title [WIP] Update GitHub Docs for authenticating as a GitHub App installation Add documentation: Authenticating as a GitHub App Installation Mar 30, 2026
Copilot AI requested a review from Abdullah9990 March 30, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants