Closed
Description
Related issues
[REQUIRED] Version info
"firebase-admin":
"firebase-functions":
node: v18.15.0
firebase-functions: "4.4.1",
firebase-tools: 12.5.4
firebase-admin: "11.11.0",
[REQUIRED] Test case
import {onRequest} from 'firebase-functions/v2/https';
onRequest({enforceAppCheck: true}, (req, res) => res.status(200).end());
[REQUIRED] Steps to reproduce
Set up a cloud function using v2 onRequest, with enforceAppCheck: true
[REQUIRED] Expected behavior
Calling the function (locally or when deployed) with the HTTP request should be blocked if no app check token is available
[REQUIRED] Actual behavior
Function works fine, same as #1377 without any token
Were you able to successfully deploy your functions?
yes
Metadata
Metadata
Assignees
Labels
No labels