super-productivity/docs/github-access-token-instructions.md

1.2 KiB

How to generate an Access Token with Privileges

GitLab Personal Access Token

For polling GitLab Issues, you need to provide an access token.

  1. Go to User Settings / Access tokens (for GitHub see below)
  2. Add a new token with the scope api

Personal Token

Project Access Token

If you self-host GitLab or have the Premium/Ultimate license, it's possible to get a Project Access Token, which is scoped to a project. The scope is similar to the Personal Access token, but you also set a role. To learn what each role can do, see the Documentation.

Project Token

GitHub Personal Access Token

To generate a GitHub Personal Access Token:

  1. Navigate to GitHub's Personal Access Tokens (Classic) page
    • Note: Fine-grained tokens are not currently supported
  2. Click "Generate new token (classic)"
  3. Select the repo scope to grant access to private repositories
  4. Click "Generate token" and securely store the token value