The current domain is not authorized for OAuth operations

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

its working fine when i try to in localhost but if i host my project in netlify then its send me this error The current domain is not authorized for OAuth operations