GitHub App setup

Each OpenReview deployment uses its own GitHub App. Register it under GitHub Settings → Developer settings → GitHub Apps.

SettingValue
Homepage URLyour APP_URL
Callback URL (user authorization)APP_URL/api/auth/callback
Setup URLAPP_URL/api/github/callback
Webhook URLCONVEX_SITE_URL/github/webhook
Webhook secretGITHUB_WEBHOOK_SECRET

Repository permissions

The required permissions are:

Two upgrades are optional, and OpenReview skips each feature at runtime when the permission is missing:

Events

Subscribe to:

Credentials

  1. Generate a private key and convert it to PKCS#8:

    openssl pkcs8 -topk8 -nocrypt -in github-key.pem -out app-key.pem
    
  2. Set GITHUB_APP_ID, GITHUB_APP_SLUG, GITHUB_APP_PRIVATE_KEY, GITHUB_WEBHOOK_SECRET, GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET on the backend.

  3. Copy the client ID and secret to the web app too, because they are used for sign-in.

Keep the private key on server infrastructure only. Installation tokens are minted per request and never stored.