Firebase: This domain is not authorized

前端 未结 9 1248
[愿得一人]
[愿得一人] 2020-12-23 14:11

I imported Firebase JS v3 API and used to initialize Firebase using:

firebase.initializeApp(config);

However the app failed to load correct

9条回答
  •  生来不讨喜
    2020-12-23 14:28

    None of the above answers worked for me, as I already had localhost in Authorized domains list. For me the problem was incorrect API key, I must have somehow deleted one of the characters from it. I got a more descriptive (or rather - not misleading) error message when I changed to signInWithPopup to signInWithRedirect. Possibly the same problem might happen when the API key is expired.

提交回复
热议问题