From e1ac544f50a14ff9cb6303292fe2ab9007e81041 Mon Sep 17 00:00:00 2001 From: Wilson Wong Date: Wed, 9 Jun 2021 03:07:56 -0700 Subject: [PATCH] Adding OAuth App token limits (#19772) --- .../apps/building-oauth-apps/authorizing-oauth-apps.md | 2 +- .../authorizing-oauth-apps.md | 2 ++ data/reusables/apps/oauth-token-limit.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 data/reusables/apps/oauth-token-limit.md diff --git a/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md b/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md index 985c842178..a065111fe3 100644 --- a/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md +++ b/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md @@ -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 %} diff --git a/content/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps.md b/content/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps.md index 592b599189..d6b4a7b61d 100644 --- a/content/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps.md +++ b/content/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps.md @@ -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. diff --git a/data/reusables/apps/oauth-token-limit.md b/data/reusables/apps/oauth-token-limit.md new file mode 100644 index 0000000000..4e5b86cc6f --- /dev/null +++ b/data/reusables/apps/oauth-token-limit.md @@ -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. \ No newline at end of file