You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
onCall Dart functions deploys with public access disabled #10225
firebase.https.onCall(
name:'onCallDemo',
options:constCallableOptions(
cors:Cors(['*']),
maxInstances:Instances(1),
),
(request, response) async {
print('I was called!');
final data = request.data asMap<String, dynamic>?;
final name = data?['name'] ??'World';
returnCallableResult({'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.
Activity
cabljac commentedon Apr 2, 2026
Hi! thanks for opening this, it's been received. We'll provide updates on this when we have them.
ajperel commentedon Apr 17, 2026
Confirmed that public is the default for callable Node & Python. You can see that in places like:
firebase-tools/src/deploy/functions/release/fabricator.ts
Line 316 in e28281f
firebase-tools/src/deploy/functions/release/fabricator.ts
Line 478 in e28281f
and elsewhere for non-callable HTTPS functions. We should make Dart consistent.
shettyvarun268 commentedon May 4, 2026
This issue should be fixed with PR #10390