Skip to content

Firebase CLI does not use Google application default credentials consistently #10879

Closed

Description

@richieforeman

Firebase is not respecting the Google App default creds that were set by gcloud and wants to authenticate me separately for some commands.

Not sure if bug or a feature, I'll let you decide, @joehan


I logged in with gCloud's application default creds

Image

Ran firebase firestore:locations (a very boring cli command that should return me something), fails.

Image

Interestingly enough, firebase projects:list worked

Image

Tried to login, and it wanted to auth me independently

Image

--

Info

➜  Desktop uname -a
Darwin richieforeman-mac.roam.internal 25.5.0 Darwin Kernel Version 25.5.0: Tue Jun  9 22:28:34 PDT 2026; root:xnu-12377.121.10~1/RELEASE_ARM64_T6041 arm64
➜  Desktop firebase --version
15.25.1
➜  Desktop gcloud --version
Google Cloud SDK 576.0.0
bq 2.1.34
bundled-python3-unix 3.14.5
core 2026.07.10
enterprise-certificate-proxy 0.3.18
gcloud-crc32c 1.0.0
gsutil 5.37

Activity

  1. changed the title [-]Firebase CLI does not use Google application default credentials[/-] [+]Firebase CLI does not use Google application default credentials consistently[/+] on Jul 31, 2026
  2. joehan commented on Jul 31, 2026

    @joehan
    Member

    Wooo, you found 2 bugs on top of each other here:

  3. added a commit that references this issue on Aug 5, 2026
    4f2a6bf
  4. added a commit that references this issue on Aug 5, 2026
    fc3b130
  5. added a commit that references this issue on Aug 16, 2026
    14779bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions