github-java-client icon indicating copy to clipboard operation
github-java-client copied to clipboard

The Search API shouldn't require installation authentication

Open bbaga opened this issue 4 years ago • 0 comments

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.

bbaga avatar Apr 16 '21 09:04 bbaga