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
0
votes
1 answer

View App Check Token in Chrome (Flutter web)

Is it possible, to view the app check token used by my flutter web app? When I check the inspect page of chrome, there is no X-Firebase-AppCheck header. I thought there was supposed to be one, or am I looking at the wrong place?
Julian
  • 443
  • 2
  • 5
0
votes
1 answer

Where is Key Id in flutter IOS for Firebase AppCheck

When it comes to the android integration, I understand entirely but IOS is out of my field. I recall setting up firebase auth with ios and it required a bundle ID. However, I don't believe these are the same as the Key Id can only be 10 characters…
Dumb Nerd
  • 15
  • 6
0
votes
1 answer

Firebase Error: No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

i am getting error in my App after setting up the AppCheck but now i dont think the error is from the AppCheck. I think is from Firebase.initializeApp(). i am confused because everything is working perfect before. Future main() async { …
Gbenga B Ayannuga
  • 2,407
  • 3
  • 17
  • 38
0
votes
0 answers

Securing Firebase Cloud Firestore in a Chrome Extension

I am developing a Chrome Extension which uses Firestore and I want to prevent malicious people from exceeding my Firestore quota. I already use Firebase Authentication and have my Firestore security rules like this: An authentication is needed to…
0
votes
1 answer

Can firebase admin sdk be used to verify app check tokens on custom backends?

App check is a great source to protect firebase backend services, but I was wondering if we could also utilise it on custom backends similar to how custom backends can verify firebase's auth tokens? Here is example use case scenario (was only able…
Ilja
  • 44,142
  • 92
  • 275
  • 498
0
votes
0 answers

Firebase Storage Download Files from Database Android

I'm trying to implement an OnClickListener that will launch a download from the Firebase Storage in PDF. But because it didn't work, I tried to implement it in image download instead. Is it necessary for a bitmap? I do not want the image to be…
0
votes
0 answers

Firebase App Check don't verify some TWA users

Around a year ago, with PWA builder, I uploaded to Google Play my web app as TWA. A few months ago, I turned on App Check verification. Then I started to get 1-star ratings that look this way: "At the beginning, everything was fine, but now I…
MAZ
  • 643
  • 5
  • 18
0
votes
1 answer

Firebase Cloud Functions called from app context is always null

I followed the API reference for organizing functions in one index.ts file, (https://firebase.google.com/docs/functions/organize-functions) but when checking the logs in the firebase console context is always null. functions/src/index.ts import * as…
0
votes
1 answer

How can I set up App Check for my Android App in Flutter?

I'm trying to set up my App Check for my Android App with this guide: https://firebase.flutter.dev/docs/app-check/usage/ Somehow I can't add the DebugMode because the Mainactivity instruction is too unclear for me. I created an "onCreate" function…
ShUtDoWn
  • 75
  • 2
  • 7
0
votes
0 answers

Flutter Firebase AppCheck failure

E/flutter (28083): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: [firebase_storage/unauthenticated] User is unauthenticated. Authenticate and try again. E/flutter (28083): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled…
0
votes
1 answer

Build fails on adding pod 'Firebase/AppCheck' to the Podfile

I'm using firebase_app_check package. All good. The following command works as expected. flutter build ios But as soon as I add the following in the Podfile(ios) pod 'Firebase/AppCheck' iOS build fails with this error: Definition of…
iDecode
  • 22,623
  • 19
  • 99
  • 186
0
votes
2 answers

Firebase App Check iOS - Cannot find type 'AppCheckProviderFactory' in scope

Xcode version: 12.5.1 Firebase SDK version: 8.5.0 Installation method: Swift Package Manager Firebase Component: App Check I'm getting error using the sample code in app delegate (Step 3 here: Setup Firebase App Check on iOS): "Cannot find type…
0
votes
1 answer

How do I know if appcheck is implemented correctly?

I have implemented AppCheck in my application following the Firebase documentation. One of the videos says that for iOS, you just need to install the SDK and the configuration will be automatic. However when I go back to the written documentation of…
0
votes
1 answer

Flutter Web App cannot access the Firebase Cloud Firestore

As I'm in development mode, my Firebase security rules are: rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write; } } } But beside having the rules public,…
0
votes
1 answer

Flutter web : I am getting 403 permission denied error after implementing Firebase app check

Flutter Firebase - App Check Flutter Web Before hand, I uploaded the images to bucket manually. I need help to fetch the data from firebase storage bucket. I was trying to fetch images stored as jpeg format in 1920x1080p resolution. Future
1 2 3
20
21