I just set the rules of my Firestore project to only allow authenticated users to read/write to my database for added security. However, I also have an exterior Node.js webscraping script that runs in the background and needs to read/write to my Firestore database. There is no authentication involved, meaning it no longer has access to my database. Is there a way to allow the Node.js script to bypass the Firestore rules?
My rules:
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth != null;
}
}
}