#✅ - Flutter - cognito custom attributes in the access token

5 messages · Page 1 of 1 (latest)

jovial basalt
#

How can I claim custom attributes when I use Amplify.Auth.signIn to login my users in the flutter app?

when I login from Appsync query editor in aws console the generated JWT has the custom attribute, but when I login from the flutter app using the same credentials the token does Not have the custom attributes

is there a specific config that I need to put i the amplifyconfiguration.dart file?

naive forum
#

Custom attributes should appear in the ID token, not the access token.

jovial basalt
naive forum
#

Ah good catch! Yes, that is a known issue currently.

unborn aspenBOT
#

✅ - Flutter - cognito custom attributes in the access token