Steps to reproduce
I'm using Github api with Github apps:
- I am logged in with owner org user
- and provide next permissions:
- Read access to actions,
- administration,
- deployments,
- environments,
- issues,
- metadata,
- pull requests.
Then
- I get org info with next endpoint: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#get-an-organization
- I retrieve some data
Problem
The problem is that two_factor_requirement_enabled
field is always nil
What I tried
I tried to configure it in Github settings with the following instruction, but the problem persists:
Relevant documentation
Does this API endpoint works with Github App like it mentioned in documentation?
1.configure MFA in organization settings
2. run next endpoint: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#get-an-organization
3. check the result in two_factor_requirement_enabled field.
im expecting to see here true or false value, but receive nil