Submitting a PR review on behalf of a user

We’re building an Upsource to Github integration, as we want to fill a few holes with its synchronization. The task at hand involves syncing review statuses (Github: Accept/Reject, Upsource: Approve/Raise Concern). Even though we’ve invested heavily in getting the required information from both places (through Github’s GraphQL API and Upsource’s RPC interface), we’ve hit a roadblock as we don’t seem to be able to use the Github API to submit a review on behalf of a user. I wonder if there’s a way to set the Actor

You should make user authorize via OAuth 2. Then, you’ll get their token and do actions on behalf of them.