Questions tagged [firebase-app-check]

App Check works alongside other Firebase services to help protect your backend resources from abuse by allowing only your apps to access them.

App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing. With App Check, devices running your app will use an app or device attestation provider that attests to one or both of the following:

  • Requests originate from your authentic app
  • Requests originate from an authentic, untampered device

This attestation is attached to every request your app makes to your Firebase backend resources.

App Check has built-in support for using the following three services as attestation providers:

  • DeviceCheck on iOS
  • SafetyNet on Android
  • reCAPTCHA v3 on web apps

If these are insufficient for your needs, you can also implement your own service that uses either a third-party attestation provider or your own attestation techniques.

App Check currently works with the following Firebase products:

  • Realtime Database
  • Cloud Firestore
  • Cloud Storage
  • Cloud Functions (callable functions)

Related tags

315 questions
2
votes
0 answers

Firebase Android Debug Token Not Working (Flutter Project)

I'm using the Firebase Phone-Auth and I've followed the Documentation of the debug provider for Flutter Project but my phone authentication still shows the reCAPTCHA on the browser after requesting an OTP Code. I've added the App Check debug token…
2
votes
1 answer

How can I unregister from Firebase Appcheck App Attest?

I've registered my unity app to App Attest in App Check firebase console. Then I saw that app check is not available for unity projects yet. Now I have to unregister my app from it, how can I do it?
irm_myth
  • 45
  • 4
2
votes
2 answers

Can't get debug token for Firebase App Check for my Flutter iOS App

So I recently started setting up app check for my existing Flutter project (for both android and iOS platforms). I've had no problem with android's "Play Integrity", got the necessary debug token, and can successfully send and retrieve data to/from…
Cedric
  • 470
  • 6
  • 20
2
votes
0 answers

Why is App Check Admin SDK rejecting debug tokens?

I am using App Check with my Flutter Android debug App to validate my app with my Cloud Run Node API. I followed the steps required to get and add the debug token to the Firebase Console Admin UI but it is rejecting my requests. Here is my backend…
2
votes
0 answers

Firebase android: Getting invalid appcheck token error even though SHA 256 fingerprint is registered in console

I am trying to implement Firebase app check in my android app. I have followed all the steps as shown in the documentation page. I am using Firebase BoM libraries as shown in the documentation page: dependencies {     implementation…
user20897932
2
votes
1 answer

App Check & Play Integrity with a custom backend

We're using SafetyNet Attestation API in our Android app and now planning to migrate to App Check / Play Integrity API since SafetyNet has been deprecated. As far as I understand from the docs, the flow remains pretty much the same: you request a…
2
votes
1 answer

How to enable Firebase App Check without Google Play Developer Account?

Safety Net allowed App Check for apps that were not distributed through Google Play. Now that Safety Net is being removed, what is the alternative of using App Check for apps that are not distributed through Google Play as the alternative provided…
2
votes
1 answer

Firebase AppCheck not working with PlayIntegrity provider

I have followed the appcheck setup guide for android, and have run into the following problem when trying to get a token from within the app: FirebaseException: Error returned from API. code: 403 body: App attestation failed when invoking appcheck…
2
votes
1 answer

Firebase AppCheck custom provider

Currently I'm trying to use a custom provider for AppCheck and according to documentation, this implementation can be used to verify other platforms than currently allowed, more specific: You want to verify devices using platforms other than…
Cătălin Florescu
  • 5,012
  • 1
  • 25
  • 36
2
votes
0 answers

Configuring AppCheck for local development in Angular applications

I'm using Firebase with it's different products like Auth, Firestore, Functions and now want to integrate AppCheck. I'm using Angular and therefore I'm using the AngularFire library. To develop locally, I'm using the Firebase Emulator Suite with a…
2
votes
1 answer

Insecure Firestore rules and App Check - the right way to go for unauthenticated database access?

I have built an app (Android/iOS) using Flutter that allows its users to configure the app to receive a daily notification. Users can also submit a textfield. There is no requirement for users to register and authenticate. I am using Firestore to…
Luke
  • 1,149
  • 1
  • 7
  • 15
2
votes
1 answer

How to implement App Check on firebase with ReactJs frontend?

Can anyone give flow chart for this service? After registering the app and enforcing the app check, how does firebase send token on every request? const appCheck = firebase.appCheck(); // Pass your reCAPTCHA v3 site key (public key) to…
2
votes
1 answer

Firebase AppCheck: how to remove/disable SafetyNet entirely from the UI when previously enabled (Firebase Bug?)

We have both SafetyNet and Play Integrity enabled. We only want Play Integrity, but it’s currently impossible to disable SafetyNet from Firebase UI (looks like a Google bug!?). SafetyNet reappears all the time when trying to enable Play Integrity…
2
votes
1 answer

firebase app check is not working with web client?

I have followed the official firebase app check installation tutorial: https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider And I'm only getting errors. I created and setup firebase project Added app check library to my…
2
votes
0 answers

App doesn't work after enabling Firebase AppCheck (403 error)

I followed the official guide to enable AppCheck. I registered my site for reCAPTCHA v3 and registered my app to use AppCheck in the firebase console. I have not yet enforced anything. In one of my NgModules I did the following: import { …
Jesper
  • 2,644
  • 4
  • 30
  • 65