I’m migrating from an Oauth App to a github App and I’m having issues accessing the search using the GraphQL API (v4)
I’m doing a search request, on Issue types. (filtered down to pull requests).
My app has the following permissions:
Read access to code
Read access to issues, members, metadata, and pull requests
Using the search endpoint with graphQL worked correctly when I was authenticated using an Oauth App, but when I switch to an authentication as an App Installation, I get the following error:
“GitHub Apps are not allowed access to search”
I don’t understand, is it a global restriction ? If this is the case, why is the search issues and pull requests listed as enabled for github app for the rest API and not GraphQL ? (https://developer.github.com/v3/search/#search-issues-and-pull-requests)
If not, is this an issue with missing authorizations for my app ? I’ve stripped down my graphQL request to a bare minimum, requesting only the pull request number, but I’m still getting the error.
If search is indeed not available for github apps, is this feature on the roadmap ? I understant that github apps are now the preferred way to integrate with github, but not being able to access the search is a blocker for us.