Firebase App Check Configuration
Overview
Firebase App Check is controlled independently for each deployment environment through organization-level GitHub Actions variables.
App Check is disabled by default. It is enabled only when the environment-specific variable is set to the exact lowercase value true. Any other value, including an unset variable or false, disables App Check.
Organization-level variables
Create or update the following non-secret variables in the GitHub organization's Actions variables settings.
| Environment | Organization variable |
|---|---|
| DEV | DEV_ENABLE_FIREBASE_APP_CHECK |
| DEVELOP | DEVELOP_ENABLE_FIREBASE_APP_CHECK |
| PRE | PRE_ENABLE_FIREBASE_APP_CHECK |
| PROD | PROD_ENABLE_FIREBASE_APP_CHECK |
Enable App Check
- Open the GitHub organization settings.
- Go to Actions → Variables.
- Set the variable for the required environment to
true. - Deploy the apps and services mentioned in Apps/Services to Deploy.
Disable App Check
- Open the GitHub organization settings.
- Go to Actions → Variables.
- Set the variable for the required environment to
false. - Deploy the apps and services mentioned in Apps/Services to Deploy.
Changing an organization variable does not affect already deployed builds or running services. Deploy all the components for the new value to take effect.
Apps/Services to Deploy
Deploy the following for the target Environment
- Web App
- Admin App
- Callables Service
Runtime behavior
When App Check is disabled
- The web app does not initialize Firebase App Check or reCAPTCHA.
- API requests do not include the
X-Firebase-AppCheckheader. - The callable service does not register the App Check verification middleware.
When App Check is enabled
- The existing Firebase App Check configuration is used.
- The web app obtains and sends App Check tokens.
- The callable service registers its existing verification middleware.
Status: Accepted
Category: Protected
Authored By: Gladson on July 21, 2026
Revisions.