Email/Password Auth
Introduction
Email/Password is the base authentication used by Remote Storage. It runs automatically during initialization — no user interaction or login UI is needed. Remote Storage generates device-scoped credentials (email and password) from the device's unique identifiers and uses them to authenticate with Firebase.
Prerequisites
Firestore is configured as explained in Firestore Storage
Setup Email/Password Authentication
Navigate to your Firebase project in the Firebase Console.
Click on Authentication → Sign-in method.
Click Add new provider → select Email/Password.
Toggle Enable to on.

Click Save.
How It Works
On first launch, the system creates a Firebase user using a device-derived email and password.
On subsequent launches, it reuses the cached Firebase user (or re-authenticates if the cache is invalid).
This gives each device a unique Firebase UID, which is used to scope Firestore documents.
Email/Password auth is required for Remote Storage to function. Without it, cloud sync will not work and the system will fall back to local-only storage.
Last updated
Was this helpful?