How to configure Update user profile identity in Firebase rule for Firestore?

Thanks in advance!

The Update user profile identity in Firebase needs two configuration settings:

var baseURL = configuration.FIREBASE_URL;
var secret = configuration.FIREBASE_SECRET;

You can set these values in the rules page, at the bottom Settings, where it states Heads up! Values stored here will be available to all rules, via the global configuration object..

Check this document for more info about the configuration object: Auth0 Rules

Thanks! This works for Firebase’s Realtime Database. How can it work for Cloud Firestore though?