GitHub app can search for "review-requested" but not "author"

I have a GitHub app making some client-side requests with a user to server token. I have the following GraphQL query:

      query: `query pulls {
        search(query: "is:pull-request is:open ${filter}:${login}", type: ISSUE, last: 25) {
          edges {
            node {
              ... on PullRequest {
                title
                number
                repository {
                  owner {
                    login
                  }
                  name
                },
                closed
                merged
                updatedAt
              }
            }
          }
        }
      }`

login is the user’s username (hatboysam, for example). I allow filter to be one of:

  • review-requested
  • author

When I use review-requested everything is fine! When I use author I get:

"GraphqlError: Resource not accessible by integration"

Strangely enough the response seems to include both data and errors:

{
  "data":{
    "search":{
      "edges":[
        {
          "node":{
            "title":"Diff experiments",
            "number":7,
            "repository":{
              "owner":{
                "login":"hatboysam"
              },
              "name":"codeapprove"
            },
            "closed":false,
            "merged":false,
            "updatedAt":"2020-08-14T08:08:44Z"
          }
        },
        {
          "node":{
            "title":"Merge new into old",
            "number":5,
            "repository":{
              "owner":{
                "login":"hatboysam"
              },
              "name":"codeapprove"
            },
            "closed":false,
            "merged":false,
            "updatedAt":"2020-07-04T16:47:40Z"
          }
        },
        null
      ]
    }
  },
  "errors":[
    {
      "type":"FORBIDDEN",
      "path":[
        "search",
        "edges",
        2
      ],
      "extensions":{
        "saml_failure":false
      },
      "locations":[
        {
          "line":3,
          "column":11
        }
      ],
      "message":"Resource not accessible by integration"
    }
  ]
}

I think this is because some of my authored PRs are on repositories where the user does not have my GitHub app installed.

Is there a way for my GitHub app to get read access to all public PRs by the user on any repo?