Skip to content

Commit 2ee8cad

Browse files
authored
Fix docs for github org membership based auth
To read members of an organization, the scope has to be read:org, not read:user. Debugging this cost me half a day and I hope fixing this can save others the time.
1 parent 81aa3eb commit 2ee8cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/administrator/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ hub:
175175
allowed_organizations:
176176
- my-github-organization
177177
scope:
178-
- read:user
178+
- read:org
179179
```
180180

181181
If you would like to restrict access to a specific team within a GitHub organization, use

0 commit comments

Comments
 (0)