Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set AWS Cognito access token timeout manually

Is there anyway to change the access token timeout in AWS Cognito?

like image 699
Instasea Avatar asked Apr 23 '18 03:04

Instasea


1 Answers

Amazon Cognito User Pools now enables customers to choose how long their access and refresh tokens should be valid. Access tokens can be configured to expire in as little as five minutes or as long as 24 hours. Refresh tokens can be configured to expire in as little as one hour or as long as ten years.

Reference:

  1. 08/2020: Cognito Token Expiration
  2. Using Tokens with User Pools - Amazon Cognito
like image 168
Shubham Nigam Avatar answered Nov 03 '22 22:11

Shubham Nigam