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

前端 未结 6 2137
生来不讨喜
生来不讨喜 2020-12-25 09:58

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 speci

6条回答
  •  旧时难觅i
    2020-12-25 10:15

    As of August 12,2020, AWS has announced that user pools now supports customization of token expiration. Here are the steps to follow:

    1. Open your AWS Cognito console.
    2. Go to General Settings.
    3. Scroll down to App clients and click edit.
    4. Click on Show Details button to see the customization options like below:

    Access token expiration must be between 5 minutes and 1 day. Cannot be greater than refresh token expiration.

    For further detail on AWS cognito you can follow this link.

提交回复
热议问题