GitHub authentication methods
Currently, GitHub is the only git provider that Graphite integrates with. When setting up an account with Graphite, you’ll have two options to authenticate with GitHub:- Option 1: Install the Graphite App (a GitHub App) on your organization (recommended)
- Option 2: Provide Graphite with a Personal Access Token
We no longer support OAuth as an authentication method. Users who previously authenticated with OAuth remain supported, but new signups must use GitHub App or PAT.
Option 1 - Install the Graphite GitHub App
When creating an account on Graphite, it’s strongly recommended that you install or request installation of Graphite’s GitHub App on your organization. GitHub Apps are the officially recommended way to integrate with GitHub. Some benefits for installing Graphite’s GitHub App on your organization:- Access to GitHub webhooks, which provides Graphite with push-based updates for information like CI status, mergeability, and real-time push events within seconds.
- Access to the Graphite Merge Queue. The Merge Queue is only available if our GitHub App is installed on the organization.
- Avoid hitting secondary rate limits with the GitHub API. This means fewer API requests to keep your data up-to-date, leading to fewer API errors and lower latency.
- Provides the most security for your organization, giving users more control over which repositories the app can access through fine-grained permissions and short-lived tokens.
Install the Graphite App on an organization
You can only install a Graphite App on an organization if you’re an organization owner. If you’re not an owner, you should request to install the Graphite App instead.
Request to install the Graphite App on an organization
If you’re not an organization owner, you can request approval for the app to be installed. Once you’ve done so, you should reach out to an organization owner to have your request approved. You can find a list of organization roles and members using this link:https://github.com/orgs/{org-name}/people.