We no longer support OAuth as an authentication method. Users who previously authenticated with OAuth remain supported, but new signups must use the App or PAT method.
Authenticating with a Personal Access Token (PAT)
Graphite currently does not have support for fine-grained personal access tokens.
- Generate a new token on GitHub and add the following access scopes:
- [If your organization has SSO] Check the token settings page on GitHub and make sure you enable SSO for the Personal Access Token you’re using with Graphite.
- Next, add your new token to Graphite through the Graphite app settings page (Settings > GitHub authentication)
- Select your repository from the drop-downs in each section of the Graphite app
- Run
gt stack submit
in the Graphite CLI to create pull requests in GitHub for every branch in your stack - See which resources (organizations and repositories) Graphite has access to, add additional organizations or repositories, and update your PAT. You can also choose to switch to authenticating with the GitHub App method (recommended).