API Key Setup
Table of Contents
Issuenator requires a GitHub personal access token to fetch issues from your repositories.
Token Types #
GitHub offers two types of personal access tokens:
Fine-Grained Tokens (Recommended) #
Fine-grained tokens offer more precise control over permissions and repository access.
Required Repository Permissions:
| Permission | Access Level | Purpose |
|---|---|---|
| Issues | Read-only | Fetch issue data |
| Metadata | Read-only | Repository information |
| Pull requests | Read-only | Linked PR information |
Required Account Permissions:
| Permission | Access Level | Purpose |
|---|---|---|
| Profile | Read and write | Username and avatar to identify your issues |
Repository Access:
Choose between:
- All repositories - Token works with any repo you have access to
- Selected repositories - Explicitly choose which repos the token can access
Classic Tokens #
Classic tokens use broader OAuth scopes.
Required Scopes:
| Scope | Purpose |
|---|---|
repo | Read permissions for any repository you want to watch |
user | Username and avatar for profile and to find “my” issues |
Creating Your Token #
Fine-Grained Token #
- Go to GitHub Settings > Developer settings > Fine-grained tokens
- Click Generate new token
- Set a name: “Issuenator”
- Set expiration (recommended: 90 days or custom)
- Choose repository access
- Under Repository permissions, set Issues, Metadata, and Pull requests to Read-only
- Under Account permissions, set Profile to read and write
- Click Generate token
- Copy the token immediately - you won’t see it again
Classic Token #
- Go to GitHub Settings > Developer settings > Tokens (classic)
- Click Generate new token (classic)
- Set a name: “Issuenator”
- Set expiration
- Check
repoanduserscopes - Click Generate token
- Copy the token immediately
Token Storage #
Your token is stored securely in the macOS Keychain:
- Encrypted at rest
- Protected by your macOS login
- Accessible only to Issuenator
- Never sent anywhere except GitHub’s API
Token Expiration #
If you set an expiration date:
- Issuenator shows the expiration date in Settings
- Create a new token before expiration
- Update the token in Settings > API Key
Troubleshooting #
“Bad credentials” Error #
- Token may have expired
- Token may have been revoked
- Check GitHub token settings for status
Missing Private Repositories #
- Fine-grained tokens: Add the repository to “Selected repositories”
- Classic tokens: Ensure
reposcope is enabled
SAML SSO Organizations #
If your organization uses SAML SSO:
- Create the token normally
- Go to GitHub token settings
- Click Configure SSO next to your token
- Authorize for each organization that requires it