Skip to content

onCall Dart functions deploys with public access disabled #10225

@jhuleatt

Description

@jhuleatt

[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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions