Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit cccd4ae

Browse files
committed
Merge pull request #674 from github/izuzak-oauth-note-must-be-unique
Notes for personal access tokens must be unique
2 parents 99481fe + 396c2ce commit cccd4ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/v3/oauth_authorizations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Read more about these tokens on the [GitHub Help page](https://help.github.com/a
7676
Name | Type | Description
7777
-----|------|--------------
7878
`scopes`|`array` | A list of scopes that this authorization is in.
79-
`note`|`string` | **Required**. A note to remind you what the OAuth token is for.
79+
`note`|`string` | **Required**. A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.
8080
`note_url`|`string` | A URL to remind you what app the OAuth token is for.
8181
`client_id`|`string` | The 20 character OAuth app client key for which to create the token.
8282
`client_secret`|`string` | The 40 character OAuth app client secret for which to create the token.
@@ -168,7 +168,7 @@ Name | Type | Description
168168
`scopes`|`array` | Replaces the authorization scopes with these.
169169
`add_scopes`|`array` | A list of scopes to add to this authorization.
170170
`remove_scopes`|`array` | A list of scopes to remove from this authorization.
171-
`note`|`string` | A note to remind you what the OAuth token is for.
171+
`note`|`string` | A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.
172172
`note_url`|`string` | A URL to remind you what app the OAuth token is for.
173173
`fingerprint`|`string` | A unique string to distinguish an authorization from others created for the same client ID and user.
174174

0 commit comments

Comments
 (0)