Amazon Cognito Assigning IAM Roles to Groups in user pool and integration with Identity Pool

戏子无情 提交于 2019-12-02 14:11:56

问题


I am trying to use newly added User Groups in User Pool and integrate the same with Federated Identities.

I followed these steps:

  1. Create Groups in user pool with roles created in IAM having separate policies
  2. Create User and add them to user groups
  3. Create an Identity Pool and add that Cognito provider under Authentication providers using app id and client id.

    Here I don't get Authenticated role selection under which I have to select Choose role from token

  4. I Save Changes and generate the default policies for authenticated and unauthenticated users

  5. After the Identity Pool creation i edit it to get Authenticated role selection and select Choose role from token and save it.

  6. After saving the changes if I go back to edit it i see Use default role is selected.

Is anyone facing the same problem or I have some errors. The policies and Roles work if I define for authenticated role but it overrides User Group roles.

来源:https://stackoverflow.com/questions/41247295/amazon-cognito-assigning-iam-roles-to-groups-in-user-pool-and-integration-with-i

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!