0

I am currently setting up the Google Auth provider within my firebase application. I have enabled the Google Auth provider, as well as the authorized domains within the authentication tab.

enter image description here

enter image description here

Even after updating my authorized domains, etc. I am still receiving the following error:

iframe.js:299 Info: The current domain is not authorized for OAuth operations. This will prevent signInWithPopup, signInWithRedirect, linkWithPopup and linkWithRedirect from working. Add your domain (ys-provider-map.firebaseapp.com) to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.

Is there something I may have missed, etc. Any and all feedback is much appreciated

3
  • That appears to be correct if ys-provider-map is indeed your Project ID. Does your firebaseConfig object include an authDomain that matches ys-provider-map.firebaseapp.com? Commented Oct 17, 2022 at 16:40
  • Yes, so everything should be working properly. Any idea why it wouldn't be? Commented Oct 17, 2022 at 16:46
  • I have added a comment below did you managed to check it? Commented Oct 25, 2022 at 6:29

1 Answer 1

0

Similar issue was reported in this github thread.

The reason for this error may be because you didn't have the firebase app domain itself (*.firebaseapp.com) included in the Accept requests from these HTTP referrers (web sites) list in the Google API credentials for the app key (https://console.developers.google.com/apis/credentials/key).

This must be a fairly recent requirement as accepting requests from the actual site domain was enough beforehand.

Hope above information helps.

Sign up to request clarification or add additional context in comments.

2 Comments

I have seen this, but am unsure of where exactly I need to add the *.firebaseapp.com, could you by chance include a screenshot of where this needs to be added or something along those lines
@Rob Terrell please check this stackoverflow answer explained clearly with screenshots

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.