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.

Enable enforcement for all iOS clients

To enable enforcement for Google Sign-in on iOS, complete the following steps. Once you enable enforcement, all unverified requests will be rejected, including requests associated with iOS OAuth clients that aren't linked to a Firebase app.

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

  2. Expand the Google Identity for iOS section.

  3. Click Enforce and confirm your choice.

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

Enable enforcement for specific iOS clients

You can also configure App Check enforcement for specific iOS OAuth clients. To do so:

  1. Open OAuth clients under the App Check section of the Firebase console.

  2. Expand the metrics view for the OAuth client you want to configure.

  3. If the client is not yet linked to an app, do so.

  4. Click Create enforcement override.

  5. Choose whether to enforce or unenforce App Check for this OAuth client. This setting overrides your project's global Google Identity for iOS enforcement setting.

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