1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Adding OAuth App token limits (#19772)

This commit is contained in:
Wilson Wong
2021-06-09 03:07:56 -07:00
committed by GitHub
parent f6b9975a8a
commit e1ac544f50
3 changed files with 4 additions and 1 deletions

View File

@@ -283,7 +283,7 @@ You can create multiple tokens for a user/application/scope combination to creat
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.
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.
{% data reusables.apps.oauth-token-limit %}
{% data reusables.apps.deletes_ssh_keys %}

View File

@@ -49,6 +49,8 @@ When you want to use an {% data variables.product.prodname_oauth_app %} that int
{% endtip %}
{% data reusables.apps.oauth-token-limit %}
#### Types of requested data
{% data variables.product.prodname_oauth_app %}s can request several types of data.

View File

@@ -0,0 +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.