Search code examples
amazon-web-servicesamazon-cognito

How to modify expiry time of the access and identity tokens for AWS Cognito User Pools


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.

The documentation specifies that by default expires 1h after the emission.

Is there a way to modify the expiry time?


Solution

  • This is currently not possible to configure for your user pool. They are set to one hour for everyone.

    Edit: see Mike's comment, this has recently been added.