rahulpsd18 / cognito-backup-restore

AIO Tool for backing up and restoring AWS Cognito User Pools
MIT License
196 stars 64 forks source link

Missing Cognito Groups and User Group Membership #10

Open jeremysquires-sensorup opened 5 years ago

jeremysquires-sensorup commented 5 years ago

Cognito stores groups and user membership information which is critical for associating users with Roles and therefore with shared permissions. Even if the roles fell outside of the scope of Cognito User Pools (being in Identity pools, not user pools), having the group information and membership would be an important part of the functionality of Cognito that should be retained through backup, restore, and migration.

vladistan commented 4 years ago

Yes this will be very handy

fredleger commented 4 years ago

Same here we needed to import the groups as well

Sofka-XT commented 4 years ago

There is a way to do it, you need to get the group in the generated file and then when resetting the json you need to assign the new group.

image

I'm going to try to do it.

jstarmx commented 3 years ago

I've created a PR that I think addresses this: https://github.com/rahulpsd18/cognito-backup-restore/pull/37

mifi commented 2 years ago

My tool supports backing up and restoring groups and relations: https://github.com/mifi/cognito-backup

Shivam-Patil-groots commented 1 year ago

My tool supports backing up and restoring groups and relations: https://github.com/mifi/cognito-backup

I was tired but its not working

Shivam-Patil-groots commented 1 year ago

My tool supports backing up and restoring groups and relations: https://github.com/mifi/cognito-backup

I am getting cli.js file errors

Shivam-Patil-groots commented 1 year ago

Same here we needed to import the groups as well

Hey bro did you find the any solution for the group