Cognito Token endpoint Quotas

0

My application calls the Token endpoint and all possible grant types are used (authorization_code, refresh_token and client_credentials) The Quotas documentation is very specific about the client_credentials grant type and states a 150 RPS limit. What about the two other grant types, authorization_code and refresh_token? Can someone please provide me the quotas for those?

Ollis
asked 6 months ago266 views
2 Answers
0

Hello,

From the question I understand that you would like to know what the quotas are for authorization_code and refresh_token grant types as the quotas documentation only specifically mentions an RPS limit for client_credentials.

In regards to the authorization_code and refresh_token the quotas for these two grant types would have the quota based of of user authentication for the InitiateAuth API call. This would mean that the default quota would be 120 RPS and is adjustable.

AWS
SUPPORT ENGINEER
answered 6 months ago
  • Ok, is this regardless of the initial used authentication method, federated or not? (We use OIDC federation)

0

Hello,

Limits consumed when an application calls the Token endpoint with authorization code and refresh token grant type.

  1. Hosted UI sign-in, in both authorization code and implicit grant types, consumes UserAuthentication category limits.
  2. Requests to /oauth2/token endpoint for refresh_token grant consumes UserAuthentication category limits.
  3. Requests to /oauth2/token endpoint for authorization_code grant type has the same limits as UserAuthentication category but does not consume that category limits.

We've the updated the quotas documentation accordingly: https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html#category_operations

AWS
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions