I am currently using parts of the Firebase emulator including its Authentication feature. I have Firebase + Dgraph Cloud authentication working, however it fails when I switch to using the local emulator. To get around this I have two backends, one without the Auth rules however it is becoming a little cumbersome to keep these two back ends in sync.
I believe this is due to the JWKURL being served from localhost
rather than a publicly accessible URL. Is there a way to get around this? Keeping in mind I am using Dgraph Cloud so that I don’t have to worry about setting up a back end / docker etc.
Working URL for staging/prod domains: ,"JWKURL":"https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com"
URL for emulator (I think): ,"JWKURL":"http://localhost:9099/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com"