GitHub App

The GitHub App discovers selected repositories and can read Dependabot alerts. Its policy test checks read permissions and callback binding.

Preview

Access

Portal session with owner or admin role; an authorized person then approves the provider connection.

Request

The portal handler starts the provider authorization flow and returns its redirect address.

POST/api/v1/integrations
Synthetic curl example · synthetic values
curl -i -X POST 'https://portal.rfi-irfos.com/api/v1/integrations' \
  -H "Cookie: $PORTAL_SESSION_COOKIE" \
  -H 'Content-Type: application/json' \
  --data '{"provider":"github"}'

Response

The handler returns the provider-specific authorization address.

200 application/json
{"data":{"authorizationUrl":"$SYNTHETIC_AUTHORIZATION_URL"}}

Error codes

400 for an unsupported provider, 401 for a missing session, 403 for insufficient role or workspace access, and 503 when provider configuration is pending.

Evidence

Code evidenceRoute details
lib/github-app.tsSource
app/api/integrations/github/webhook/route.tsSource
npm run test:github-app-policyTest · Passed locally

This branch contains source evidence and the listed local test results. Live also requires evidence of production operation; until then the status remains Preview.

Local index↑ ↓ · Enter · Esc