microsoft / microsoft/CmdPalGitHubExtension
Missing Issues/PRs etc from private repositories
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 88
- Forks
- 13
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
Hey there,
I love the extension so far except this one nasty little thing of not being able to see issues/prs/etc from private repos. First I thought this might be a problem on my login, so I tried it multiple times always with the same result. Issues of private repos wouldn't show up. So I did some digging and and testing with the source code locally.
All this seems to come from a misconfiguration of the client secrets.
When I started building locally I accidentally created a github app instead of github oauth app, after hours of digging and finding nothing which would explain why it wouldnt show private issues, I replaced the github app credentials with github oauth app credentials and zack it worked.
From the logs of the extensions it seems that oauth is indeed the wanted flow
[2025/04/20 08:56:05.686 INF] (DeveloperIdProvider) doluk logged in with OAuth flow to https://api.github.com/
If you look at the documentation for github apps https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28 , you notice it cant use the search endpoints authenticated and therefore would only show public results. OAuth apps on the other hand can use search endpoints authenticated and will return private repositories too
Contributor guide
No contributing guide indexed for this repository
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
Start by reviewing the source code's client-secret configuration and the authentication path associated with the logged OAuth flow. Reproduce the issue with a private repository and compare GitHub App and OAuth App credentials; done means authenticated searches show private repository issues, pull requests, and related results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, github
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100