Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase: This domain is not authorized

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

firebase.initializeApp(config); 

However the app failed to load correctly via web browser on localhost, resulting in the following error:

Error: This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.

firebase.js:71:1333

like image 315
user6039980 Avatar asked May 20 '16 10:05

user6039980


People also ask

How do I fix this app is not authorized to use firebase authentication?

Make sure you add the SHA1 key from Play Console to your app in the Firebase Console. Also, the google-services. json file needs to be downloaded again, and added to app, after submitting to app store. Then re-upload to google play store.

What is an authorized domain?

A: The Authorized Domain is a property that defines the limits of certain functions accessible to the account administrator. When a ZipDX account is established it may includes one or more “Authorized Domains.” This setting determines how much access the account administrator has to certain information.


1 Answers

I solved the problem by adding the localhost domain to OAuth redirect domains (within SETUP SIGN IN METHOD on the Auth tab of Firebase console).

like image 136
user6039980 Avatar answered Oct 04 '22 03:10

user6039980