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.

preguntada hace un año890 visualizaciones
2 Respuestas
1
Respuesta aceptada

The only modification possible now are user groups.

AWS
respondido hace un año
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
EXPERTO
respondido hace 4 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas