Enable App Check enforcement

When you understand how App Check will affect your users and you're ready to proceed, you can enable App Check enforcement.

To enable enforcement for Data Connect, Vertex AI in Firebase, Realtime Database, Cloud Firestore, Cloud Storage, Authentication, Google Identity for iOS, Maps JavaScript API, and Places API (New), follow the instructions below. Once you enable enforcement for a product, all unverified requests to that product will be rejected.

  1. Open the App Check section of the Firebase console.

  2. Expand the metrics view of the product for which you want to enable enforcement.

  3. Click Enforce and confirm your choice.

    (Your project must be upgraded to Firebase Authentication with Identity Platform to enable enforcement for Authentication.)

Note that it can take up to 15 minutes after you enable enforcement for it to take effect.