The current domain is not authorized for OAuth operations.

777 views
Skip to first unread message

Herbie Vine

unread,
Mar 26, 2020, 9:35:37 AM3/26/20
to Firebase Google Group
Hi,

I'm new to Firebase and am trying to make an authentication web app. 
For some reason, my domain (localhost & deployed site) apparently isn't authorized to authenticate users. However, when I go to Authentication > Sign-in methods > Authorized Domains, I see this:


localhost
Default
password-manager-fbce3.firebaseapp.com
Default
password-manager-fbce3.web.app
Default

When I create a user using Google Auth popup window, I get two errors in the console:

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

And after ~20s:

  1. I {code: "auth/popup-closed-by-user", message: "The popup has been closed by the user before finalizing the operation.", a: null}
    1. code: "auth/popup-closed-by-user"
    2. message: "The popup has been closed by the user before finalizing the operation."
    3. a: null


So why isn't it working... I thought maybe it was the config settings but that seems to be all fine...

Thanks

Herbie
Reply all
Reply to author
Forward
0 new messages