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.

2개 답변
1
수락된 답변

The only modification possible now are user groups.

AWS
답변함 일 년 전
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
전문가
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠