title: How to modify expiry time of the access and identity tokens for AWS Cognito User Pools
body: <p>I can't find any documentation which explains if and how to modify the expiry time of access and identity tokens for AWS Cognito User Pools.</p>
  
  <p>The <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html" rel="noreferrer">documentation</a> specifies that by default expires 1h after the emission. </p>
  
  <p>Is there a way to modify the expiry time?</p>