Skip to content

Commit e1ac544

Browse files
Adding OAuth App token limits (github#19772)
1 parent f6b9975 commit e1ac544

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ You can create multiple tokens for a user/application/scope combination to creat
283283

284284
This is useful if your OAuth App supports one workflow that uses GitHub for sign-in and only requires basic user information. Another workflow may require access to a user's private repositories. Using multiple tokens, your OAuth App can perform the web flow for each use case, requesting only the scopes needed. If a user only uses your application to sign in, they are never required to grant your OAuth App access to their private repositories.
285285

286-
There is a limit to the number of tokens that are issued per user/application/scope combination. If your application requests enough tokens to go over one of the limits, older tokens _with the same scope being requested_ will stop working.
286+
{% data reusables.apps.oauth-token-limit %}
287287

288288
{% data reusables.apps.deletes_ssh_keys %}
289289

content/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ When you want to use an {% data variables.product.prodname_oauth_app %} that int
4949

5050
{% endtip %}
5151

52+
{% data reusables.apps.oauth-token-limit %}
53+
5254
#### Types of requested data
5355

5456
{% data variables.product.prodname_oauth_app %}s can request several types of data.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
There is a limit of ten tokens that are issued per user/application/scope combination. If the application requests enough tokens to go over one of the limits, older tokens _with the same scope being requested_ will stop working.

0 commit comments

Comments
 (0)