Firebase Authentication
Firebase is used for phone-based authentication and for verifying client auth flows where applicable.
Setup checklist
- Create a Firebase project for Langwa.
- Enable Phone authentication (and any other sign-in providers you use).
- Generate a Firebase Admin SDK service account.
- Store the service account credentials in the backend secret store (do not commit to git).
Backend configuration
The backend should load Firebase Admin credentials from environment secrets at
startup. Refer to the backend repo's .env template and config files for the
exact variables and loading strategy.
Client configuration
- Use Firebase client SDKs for phone OTP flows.
- Ensure the client app uses the correct Firebase project configuration.