When trying to use Firebase Authentication with Google, the error auth/internal
occurs and the following warning appears in the console:
<script> source URI is not allowed in this document: “https://apis.google.com/js/api.js”
This only happens in Firefox. How can I avoid it?
CodePudding user response:
Firefox has a different policy for how network requests are treated within your script.
Firefox requests occur only within the context of the extension.
You need to declare which sites you are making requests to
You will have to place these within
manifest.json
in the permissions key