如何修改AWS Cognito用户池的访问和身份令牌的到期时间 [英] How to modify expiry time of the access and identity tokens for AWS Cognito User Pools

查看:292
本文介绍了如何修改AWS Cognito用户池的访问和身份令牌的到期时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到任何文档来解释是否以及如何修改AWS Cognito用户池的访问和身份令牌的到期时间。

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.

文档指定默认情况下在发射后1h到期。

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

是否可以修改到期时间?

Is there a way to modify the expiry time?

推荐答案

当前无法为您的用户池进行配置。每个人都设置为一个小时。

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

这篇关于如何修改AWS Cognito用户池的访问和身份令牌的到期时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆