Firebase App Check not working with firebase functions - web project

Viewed 195

We are trying to use App Check but our firebase function that is accessing the realtime database and is displaying this error: FIREBASE WARNING: Invalid appcheck token

We are using the latest versions of firebase-admin (9.9.0) and firebase-functions (3.14.1). And we are also using the latest version of firebase js SDK (8.6.7) on the frontend. But it is not working, the app check token is present on the function on context.app and on the request header but the error is still showing:

enter image description here

Is there anything else that we can try to make it work?

EDIT: We created a minimal code example that reproduce the error, you can see it here https://github.com/glauberramos/app-check-bug

0 Answers
Related