- 最新
- 投票最多
- 评论最多
Hello,
In order to stop an attribute from being present in the ID token, you need to unselect that attribute from the list of readable attributes for the app client.
Please expand the "Attribute permissions and scopes" section in document [1] for reference to attribute read/write settings in an Cognito user pool app client. You need to modify the "Set attribute read and write permissions" settings (if you are using old Cognito console) or the "Edit attribute read and write permissions" settings (if you are using new Cognito console).
After you unselect an attribute from this list, that attribute will no longer be present in the ID token.
I believe the information is helpful to you. In case you have any further queries/concerns then please let me know.
--References--
[1] https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前