I am using AWS Cognito service and I added to my users in User Pool custom attributes, and check the custom attribute check box in the App clients -> Show Details -> Set attribute read and write permissions, However when I run the command "aws cognito-idp admin-get-user --user-pool-id XXXXXX --username XXXXXX" in AWS cli I get all user attributes except the custom attributes that I added.
I building android app but I get the same result in the code.
So my question is how to get the user custom attributes?