One account should be deleted before linking two existing ones
Alynva opened this issue · 0 comments
Alynva commented
I'm trying to replicate the example of merging two existing accounts, but I think that the problem is that the docs doesn't explicit says that the prevUser needs to be deleted from Firebase Auth, and not only its data from my "repo", it just says that I need to delete the users's data:
And it says that it would be restored if necessary, but it doesn't restore the actual user that should be deleted beforehand. But to restore it we would need the prevUser credential, that wouldn't be valid anymore?! Idk...