-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
emulator: dataconnectIssues related to the dataconnect emulatorIssues related to the dataconnect emulatortype: bug
Description
[REQUIRED] Environment info
firebase-tools: v14.9.0
Platform: macOS 15.5
Firebase Data Connect extension: v1.5.0
[REQUIRED] Test case
https://github.com/aalej/fdc-embed-adc-mcve
[REQUIRED] Steps to reproduce
Using the test case
- Run
gcloud auth application-default revoke - Run
gcloud auth revoke - Run
firebase login - Run
firebase use --add PROJECT_ID --alias default - Open the Firebase Data Connnect extension
- Click the "Start emulators" button
- Open
./dataconnect/RestaurantEmbedd_insert.gql, then click "Run (local)"
[REQUIRED] Expected behavior
The VS Code extension makes an ADC using the credentials from firebase login and the mutation succeeds
[REQUIRED] Actual behavior
The mutation errors with
failed to build http client for calling Vertex. Error failed to set up an OAuth token source. Error google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information
Metadata
Metadata
Assignees
Labels
emulator: dataconnectIssues related to the dataconnect emulatorIssues related to the dataconnect emulatortype: bug