Back

Migrating users from an AWS app to AppWrite

  • 0
  • Users
  • Accounts
  • Tools
  • Self Hosted
SagiCh
6 Sep, 2023, 07:03

Hi app heroes. Is there any chance someone knows a process to migrate users from AWS Cognito to AppWrite?

TL;DR
Messages TL;DR: - Option 1: If resetting passwords is okay, recreate the user accounts in AppWrite. - Option 2: Use the migration lambda trigger in AWS, but it migrates one user at a time when they log into AWS. - It is unclear if there is a way to export users with passwords from AWS Cognito. - Need assistance with migrating users from AWS Cognito to AppWrite.
Drake
6 Sep, 2023, 19:38

are you able to extract the data from AWS including password hashes and info about the hashing algorithm?

SagiCh
10 Sep, 2023, 09:06

Hi Steven. I'm not sure if there is a way to export users with passwords. Looks like AWS are forcing you to stay with them.

Drake
10 Sep, 2023, 15:37

If you're okay with forcing users to reset their password, you can just recreate their account in Appwrite.

Otherwise, their migration lambda trigger might be the way to go...but that migrates one at a time when the user logs into AWS. https://stackoverflow.com/questions/65177358/export-aws-cognito-users-with-password

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more