Closed kyleshepherd closed 1 year ago
I've just had the exact same problem... Imagine my delight at finding this issue, and my disappointment that it was closed with no comment. It's OK though, I figured it out.
Still here? Oh, right, sure: There's some out of date gcloud documentation floating about which instructs you to:
go get firebase.google.com/go
But what you really want (at time of writing) is:
go get firebase.google.com/go/v4
You're welcome.
I am trying to use the Firebase emulators in an API I'm building with Go. I've got the Firestore emulator working fine, but the Auth one is being ignored and instead my actual Firebase project's Authentication is being used.
I've tried setting the
GCLOUD_PROJECT
env variable as well but it isn't changing the results. I expected this to behave the same as the Firestore Emulator, where it automatically picks up the env variable without any other changes required