Github app user-to-server token user orgs

Using an oauth app, you can request the read:org scope, and then the Github Rest API /user/orgs endpoint will return the currently-authenticated user’s public and private organizations. I’m trying to migrate to a github app, and using a user-to-server access token to make the same call. No matter what I selected for permissions on the github app, I can’t get back the authenticated user’s private organizations. How can I get this to work?

1 Like