0
votes

I am working on an application which uses Cognito as the identity provider.

I have a requirement to get the total count of users from Cognito to display on UI. But the problem is Cognito doesn't provide total number of users, it does however give estimated number of users from describe user pool api. What I don't understand is why the "estimated" count and not the exact? Is it because of federated users?

Anyone if using an identity provider, will not have users in their own application (or will they?). So why the querying capability of Cognito is so basic ? For handling such scenarios should one have a copy of users in their own application as well? But in this case the challenge is how to sync the users? App Sync is there for identity pool only but not user pool.