I can't get a service account to work with this library. Is there some secret for doing so that needs to be documented?
I'm saving a service-account.json and using Credentials.applicationDefault(), but it does not work. It does work when I remove that (it finds credentials in the .config/configstore/firebase-tools.json). I've tried generating a key for both the firebase-admin service account, and for a custom service account with firebase-admin privileges, but neither approach works.
I can't get a service account to work with this library. Is there some secret for doing so that needs to be documented?
I'm saving a service-account.json and using
Credentials.applicationDefault()
, but it does not work. It does work when I remove that (it finds credentials in the.config/configstore/firebase-tools.json
). I've tried generating a key for both the firebase-admin service account, and for a custom service account with firebase-admin privileges, but neither approach works.