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

Luca picture Luca · Mar 10, 2017 · Viewed 32.1k times · Source

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?

Answer

Jeff Bailey picture Jeff Bailey · Mar 10, 2017

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.