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.

posta un anno fa890 visualizzazioni
2 Risposte
1
Risposta accettata

The only modification possible now are user groups.

AWS
con risposta un anno fa
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
ESPERTO
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande