Firebase函数:可调用请求验证通过
我已经定义了一个像这样的 firebase 函数:
exports.getTestResults = functions.region("europe-west3").https.onCall((data, context) => {
return {
test: 'Test 123'
}
})
如果我调用这个函数如下
var getTestResults = firebase.app().functions('europe-west3').httpsCallable('getTestResults');
getTestResults({ }).then(response => {
console.log(response);
}).catch(ex => {
console.log('EXC: ' + ex);
})
我在 firebase 函数日志中收到此错误/警告/任何内容
Callable request verification passed {"verifications":{"app":"MISSING","auth":"VALID"}}
这是什么原因?