-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_members() isn't returning emails for all users, despite showing up in the GIthub UI #2861
Comments
My code is as simple as:
|
Hello in order to get the mail from API, user needs to configure its email address as public. in https://github.com/settings/profile Needs to select in the drop down list the corporate email address, then hit save button then you can access email using API |
I understand what you are saying there, however, if we do this:
It indeed works. Can the non-GraphQL endpoint match the data returned by GraphQL endpoint? |
i'm not GraphQL fluent, but it looks like you are reading data from the |
I am running the following code snippet, it doesn't get me any member
But running with GH CLI returns
|
Your snippet works fine, using an access token with following permission: |
Hello,
I'm going a full organization get_members() and it's returning all the users. The problem is, i'm trying to tie the 'login' (their github username) over to email, specifically their corporate email address. However, most of our members are returning an empty email field. Despite showing in the GIthub Web UI.
Any ideas here?
The text was updated successfully, but these errors were encountered: