[REQUIRED] Environment info
firebase-tools: 15.12.0
Platform: macOS
[REQUIRED] Test case
firebase.https.onCall(
name: 'onCallDemo',
options: const CallableOptions(
cors: Cors(['*']),
maxInstances: Instances(1),
),
(request, response) async {
print('I was called!');
final data = request.data as Map<String, dynamic>?;
final name = data?['name'] ?? 'World';
return CallableResult({'message': 'Hello, $name!'});
},
);
[REQUIRED] Steps to reproduce
Deploy a callable Dart function, then check the "Security" tab in the Cloud Run console. In the "Authentication" card, "Require authentication" is selected.
[REQUIRED] Expected behavior
Public access is allowed by default
[REQUIRED] Actual behavior
"Require authentication" is selected
[REQUIRED] Environment info
firebase-tools: 15.12.0
Platform: macOS
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
Deploy a callable Dart function, then check the "Security" tab in the Cloud Run console. In the "Authentication" card, "Require authentication" is selected.
[REQUIRED] Expected behavior
Public access is allowed by default
[REQUIRED] Actual behavior
"Require authentication" is selected