Does anyone know how to migrate users from one firebase project to another and keep the same uid ?
Ideally the uid would be the same in the target project since I have in the db tied records to the uid
Is it possible to keep the uid the same in target project ?
The source project would then be deleted
CodePudding user response:
You can use the specific auth:export and auth:import commands of the Firebase CLI:
- The
auth:exportcommand exports user accounts to JSON and CSV files. - The
auth:importcommand imports user accounts into Firebase projects.
