I'm in the process of migrating users from AWS to firebase. One major issue I've hit on is resolving the users ID to their database data.
When a user logs in I create a profile for them in DynamoDB indexed against their cognito identity ID.
Unfortunately (and perhaps with good reason) Amazon does not provide a clear path to find a users identity ID without them logging in. While this is good for their privacy the flipside is when it comes time to move them to firebase I don't know what data to grab for the user from dynamodb to move over to firebase.
The long and short of it is I have all the users data but no way to connect the data with the individual user unless they login and gain access to their identity id, but I need to be able to do this to migrate them over to firebase.
I'm currently flirting with the idea of having a migration process trigger when a user logs in to create a firebase account and move their data across but at the same time this could cause issues for individual users who might encounter problems that could be caught in a mass migration.