extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[limit-child-nodes] how to make it work with app check enabled?

Open Andree98 opened this issue 3 years ago • 1 comments

[READ] Step 1: Are you in the right place?

Yes

[REQUIRED] Step 2: Describe your configuration

  • Extension name: limit-child-nodes
  • Extension version: 0.1.5
  • Configuration values (redact info where appropriate):
    • _
    • _

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

I have app check enforcement for the realtime database enabled. When I installed the extension I noticed it wasn't working and found this in the logs. I tried to find solutions online but couldn't find anything about it.

Is it possible to use this extension with app check enabled? If yes, how could I make it work? Thanks

image

Andree98 avatar Mar 03 '22 18:03 Andree98

Hi @Andree98.

From a quick look this is not possible at the moment but could be a future update.

.runWith({
    allowInvalidAppCheckToken: true  // Opt-out: Requests with invalid App
                                     // Check tokens continue to your code.
  })

https://firebase.google.com/docs/app-check/cloud-functions

I can add this to our project board for further investigation as a new feature.

dackers86 avatar Mar 04 '22 10:03 dackers86