spotify/github-java-client

The Search API shouldn't require installation authentication

bbaga opened this issue · 0 comments

bbaga commented

When I try to search for issues in repositories on which my GitHub app is installed using the SearchClient, I get an error saying that this endpoint requires installation authentication. That shouldn't be the case. When the application has access to the repositories, the search should work with AppAuth too.

Correction: Search in general shouldn't require authentication as an installation, but searching in/for private repositories should.

To verify this, I replicated the code using https://github.com/hub4j/github-api and the search works fine with AppAuth.