-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
Labels
Description
[REQUIRED] Version info
node:
v22.14.0
firebase-functions:
6.3.2
firebase-tools:
14.4.0
firebase-admin:
13.4.0
[REQUIRED] Test case
exports.createTextTask = onCallGenkit(
{
enforceAppCheck: true
},
createTextTaskFlow,
);
[REQUIRED] Steps to reproduce
- Add enforceAppCheck to onCallGengit
- Call the function with a CURL command (with a wrong
x-firebase-appcheck
header)
[REQUIRED] Expected behavior
The request should be rejected.
[REQUIRED] Actual behavior
The request still goes through. In the logs:
- "Callable request verification failed: AppCheck token was rejected."
- "Allowing request with invalid AppCheck token because enforcement is disabled"
Were you able to successfully deploy your functions?
No errors during deploy.