How do I access the group for a Cognito User account?
问题 In AWS Cognito, you can add a user to a group (after first creating a group). A user may belong to one or more groups. With using the JavaScipt SDK (https://github.com/aws/amazon-cognito-identity-js), is there a way to read the assigned Groups? Would aws-sdk provide access over amazon-cognito-identity-js ? 回答1: If you just need the Cognito UserPools Groups the Authenticated User is a member of, instead of making a separate API call, that data is encoded in the idToken.jwtToken that you