-
Our project mostly consists of Cloud Run instances, some of which wants to ask cloud firestore about stuff. To test this locally, I would like to run the emulator (maybe with login:ci) and the Cloud Run app in a local docker image. Can I at this point test it with no authentication, or mocked credentials created locally? It doesn't make sense to me that to test locally, I need to log into my Google accounts. When I do
the ADC is wanted.
as it then tries to validate the signature of the credential. Is there supposed to be a way to do something like this? The emulator running locally, the application running locally, and NOT being logged in to Google on any account whatsoever? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Most or all of the issues appear to have originated from not setting FIRESTORE_EMULATOR_HOST (I had FIREBASE_DATABASE_EMULATOR_HOST instead). It appears to be working now. Sorry for the fuzz. |
Beta Was this translation helpful? Give feedback.
Most or all of the issues appear to have originated from not setting FIRESTORE_EMULATOR_HOST (I had FIREBASE_DATABASE_EMULATOR_HOST instead). It appears to be working now. Sorry for the fuzz.