Code to reproduce appcheck bug.
Versions used: firebase@8.10.0
The problem:
When retrieving data from database the following error is found in the console:
@firebase/app-check: FirebaseError: AppCheck: Fetch server returned an HTTP error status. HTTP status: 403. (appCheck/fetch-status-error).
Set up:
-
Fill firebase with your credentials (
index.html:10
) -
Provide a REcaptcha token to initialize app-check (
index.html:17
) -
Set up Google auth in your Firebase auth console
-
Create a RTDB and add a
test
property to it
Steps to reproduce:
- Open your browser console
- Click on "Call database" function
- You'll see the error before the data is printed.
You can test with logged user as well and the error does not print.