Add field to the Cognito access token

0

Is it possible to modify the JWT access token so that it includes the username and/or a custom D as well as the sub? The user pool is configured with an optional custom ID attribute. We use Amplify to log in.

已提问 1 年前924 查看次数
2 回答
1
已接受的回答

The only modification possible now are user groups.

AWS
已回答 1 年前
0

Since Dec 18, 2023, Amazon Cognito user pools support the ability to enrich access tokens with custom attributes in the form of OAuth 2.0 scopes and claims.

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容