I am creating a web extension both for chrome and firefox. I have integrated firebase UI and firebase auth. Google authentication works well on chrome extension. But on firefox extension/add-on it gives me the following error.
This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.
I tried couple of things, but none worked.
- Tried adding
moz-extension://dhhjsbhjbajnsabjajbasjbhjasjh
in authoirsed domain in firebase auth console. Validation error. - Tried both
pop up
andredirect
sign in methods.
Similar issue is faced by other developers while developing for cordova or ionic