middlewarehq / middlewarehq/middleware
Allow using GitHub fine grained tokens
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
Why do we need this ?
Currently, to access GitHub's resources the only supported authentication method is by using Personal Authentication Tokens (classic). Some organizations do not allow PATs to access organization resources, only fine grained tokens. Allowing fine grained tokens would make it possible for organizations that have this setting to utilize Middleware.
Acceptance Criteria
Being able to use a fine grained tokens in the github integration.
Further Comments / References
I think this would be an easy change because the requests to the api would be identical. Only the code that checks the token length/permissions that would need to change.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file or test. Start by locating the GitHub integration's token length and permission checks, then verify how fine-grained tokens are handled; done means a fine-grained token can authenticate successfully in the integration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- backend, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100