Custom attribute not passed into ID_TOKEN created by AWS Cognito

前端 未结 2 903
孤街浪徒
孤街浪徒 2021-02-07 06:01

I am not able to get custom attribute in ID_TOKEN returned from AWS Cognito after successful user login.

Steps I tried :

1.Created user pool 2.C

2条回答
  •  花落未央
    2021-02-07 06:26

    • In your Cognito user pool go to General Settings -> App Clients, then for each app client click on Show Details, then Set attribute read and write permissions. Check the checkbox next to your attribute name under Readable Attributes.
    • In your Cognito user pool go to App client settings -> Allowed OAuth Scopes and enable profile scope.

提交回复
热议问题