firestore-rs icon indicating copy to clipboard operation
firestore-rs copied to clipboard

Support for Firebase App Credentials

Open marcomayer opened this issue 5 months ago • 3 comments

Maybe I just haven't found it yet but it looks like there's no way to use a firebase app config to authenticate with an API Key. So basically following these steps: https://firebase.google.com/docs/web/setup I do get out a config that looks like:

{
  apiKey: "some_api_key",
  authDomain: "test-project.firebaseapp.com",
  projectId: "test-project",
  storageBucket: "test-project.appspot.com",
  messagingSenderId: "123456",
  appId: "1:123456:web:123abc456"
};

But it seems like there's no way to authenticate using the apiKey. Would be great if this would be possible

marcomayer avatar Sep 18 '24 09:09 marcomayer