Comments (3)
The endpoint used for octokit.orgs.listForUser({ username, per_page, page })
is https://developer.github.com/v3/orgs/#list-user-organizations. The description states that the endpoint returns only the public memberships
List public organization memberships for the specified user
In order to get all organizations a user is associated with, you need to authenticate as that user, as far as I know.
Maybe there is an enterprise-only endpoint that can be used that I'm not aware of. Could you ask support about it? https://enterprise.githubsupport.com/hc/en-us/requests/new
from plugin-enterprise-server.js.
Thanks for your input and pointing me in the right direction. I've just submitted a request asking the same.
Regards
Anil
from plugin-enterprise-server.js.
I'll close the issue for the time being as there is nothing actionable for me right now, but please let me know what support says, and reopen the issue if there is something I can help with from my side
from plugin-enterprise-server.js.
Related Issues (19)
- Compatibility: 404 from GH EE API HOT 2
- An in-range update of semantic-release is breaking the build 🚨 HOT 1
- Add TypeScript definitions for added methods
- 404 Malformed URL HOT 6
- Question: Is there an easier way to navigate trough pages? HOT 6
- The automated release is failing 🚨 HOT 3
- automated updates don't work - no pull requests are created.
- Add @octokit/core as peerDependency HOT 1
- Replace "cdn.pika.dev" with "cdn.skypack.dev" in README HOT 5
- Dependency Dashboard
- Missing types for GitHub Enterprise Server 3.x HOT 4
- Action Required: Fix Renovate Configuration
- npm added as a production dependency - typo? HOT 4
- Add GHE 3.1 and 3.2 endpoints HOT 7
- Remove Node version 10 from .github/workflows/test.yml
- Should `@octokit/core` be a `dependency` instead of a `devDependency`? HOT 1
- [BUG]: Missing endpoints for management of runner groups on the Repo and Org level HOT 3
- [BUG]: Broken API HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-enterprise-server.js.