Auth mode not working with fine-grained token
Open
bug
- Dominant language
- TypeScript
- Stars
- 87
- Forks
- 1
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 14
Description
### 🐛 The bug
1. Create a [fine-grained PAT](https://github.com/settings/personal-access-tokens) with the `Read access to issues and metadata` scope.
2. Run `npx goff@latest auth --token $token`.
3. Error: `Failed to authenticate with GitHub. Please check your token and try again.`
```
> $token
github_pat_REDACTED
> npx goff@latest auth --token $token
[10:04:21 AM] ERROR Failed to authenticate with GitHub. Please check your token and try again.
```
### 🛠️ To reproduce
Not sure how to do this
### 🌈 Expected behaviour
I expected this to just work, I guess. I've never used the tool and don't have baseline expectations.
### ℹ️ Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.