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

Add rate limit disclaimer (#57446)

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
Alec Breton
2025-09-09 11:02:00 -04:00
committed by GitHub
parent 11bf8643f2
commit 1efe08588c

View File

@@ -13,6 +13,9 @@ shortTitle: Rate limits
> [!NOTE]
> Consider building a {% data variables.product.prodname_github_app %} instead of an {% data variables.product.prodname_oauth_app %}. The rate limit for {% data variables.product.prodname_github_apps %} using an installation access token scales with the number of repositories and number of organization users. Conversely, {% data variables.product.prodname_oauth_apps %} have lower rate limits and do not scale. For more information, see [AUTOTITLE](/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps) and [AUTOTITLE](/apps/creating-github-apps/setting-up-a-github-app/about-creating-github-apps).
> [!WARNING]
> {% data variables.product.prodname_oauth_apps %} are subject to a rate limit of **2,000 access token requests per hour**. If your application exceeds this limit, further requests to generate new access tokens will be temporarily blocked, and you may receive error responses. **This can lead to temporary outages**. Please plan your implementation accordingly to avoid potential service interruptions.
## About rate limits for {% data variables.product.prodname_oauth_apps %}
{% data variables.product.prodname_oauth_apps %} act on behalf of a user, by making requests with a user access token after the user authorizes the app. For more information, see [AUTOTITLE](/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps).