You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/v3/oauth.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,8 +173,8 @@ Name | Description
173
173
`user` | Grants read/write access to profile info only. Note that this scope includes `user:email` and `user:follow`.
174
174
`user:email`| Grants read access to a user's email addresses.
175
175
`user:follow`| Grants access to follow or unfollow other users.
176
-
`public_repo`| Grants read/write access to code, commit statuses, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
177
-
`repo`| Grants read/write access to code, commit statuses, and deployment statuses for public and private repositories and organizations.
176
+
`public_repo`| Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
177
+
`repo`| Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public and private repositories and organizations.
178
178
`repo_deployment`| Grants access to [deployment statuses][deployments] for public and private repositories. This scope is only necessary to grant other users or services access to deployment statuses, *without* granting access to the code.
179
179
`repo:status`| Grants read/write access to public and private repository commit statuses. This scope is only necessary to grant other users or services access to private repository commit statuses *without* granting access to the code.
180
180
`delete_repo`| Grants access to delete adminable repositories.
@@ -250,10 +250,6 @@ your application. More often than not, users will just close the window
250
250
or press back in their browser, so it is likely that you'll never see
251
251
this error.
252
252
253
-
### Checking collaborators
254
-
255
-
When requesting [repo collaborators](https://developer.github.com/v3/repos/collaborators/) the scope `public_repo` or `repo` is required otherwise Github will return `403 Forbidden: Must have push access to view repository collaborators.`.
256
-
257
253
## Common errors for the access token request
258
254
259
255
In the second phase of exchanging a code for an access token, there are
0 commit comments