A common question I often encounter, is how to maintain consistency between custom claims in Firebase Auth and role assignments stored in Firestore.
It is common in applications to have role-based authentication, where the access to resources is determined by a given role and where there are admin users have the authority to assign or revoke roles.
Backups are really useless most of the time… until something goes wrong and you really need one.
This article will help provide some easy to apply recipes to back up your Firebase project, in a single Github Action workflow.