list orgs returning empty

I have a client setup with a user’s access token github_identity[‘access_token’], auto_paginate: true, :accept => ‘application/vnd.github.html’)

which establishes a client with the following scopes 

read:org, read:user, repo, user:email

When using that client to list the users organizations (client.orgs), it returns an empty array, but I know the user is in multiple orgs 

Solved, this was because of Third Party access restrictions on the org 

1 Like

and here is how to send an authorization request for an organization owner, to authorize an Oauth Application Requesting organization approval for OAuth Apps - GitHub Docs