Firebase: This domain is not authorized

前端 未结 9 1247
[愿得一人]
[愿得一人] 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:23

    Solution which worked for me after trying out all the options on the listed above and on other sites regarding using FireBase oAuth was the following:

    1. login at https://console.cloud.google.com
    2. Go to APIs & Services > Credentials

    Once here, locate API Key you are using in your app that connects to FireBase

    1. Now add your custom domain to HTTP Referrers

    For android or ios or having your application on all three mediums, you will need to create API keys per medium.

提交回复
热议问题