Using the Auth0 sub Claim as a Firestore Authorisation Foreign Key
This demo suite already uses Firebase Firestore under the hood for session storage. This post surfaces that same identifier as its own pattern: the Auth0 sub claim used as a stable foreign key into Firestore, deciding who can access an account and logging who did what once they're in.