All Posts

How to Keep Your Custom Claims in Sync with Roles Stored in Firestore

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.

Duplicating your Firebase project to staging with Github Actions

So we’re all set up with CI/CD that rolls out a shiny new production release to our Firebase hosting every time we merge to master. That’s great.

Backing up Firebase project with Github Actions

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.