If you are using the web sdk from a Cordova framework remove the authDomain field from the app configuration. This is temporary until we have a long term solution.
This means you won't be able to run signInWithRedirect or getRedirectResult. They don't currently work anyway.
What you can do now is use a Cordova plugin for google sign in and facebook sign in.
On success, you will get an OAuth 2 access token or id token.
You then initialize an auth credential and call signInWithCredential using the web sdk:
auth.signInWithCredential(firebase.auth.FacebookAuthProvider.credential(fbAccessToken)).then(function(user) {
// The facebook user is now signed in.
}).catch(function(error) {
// Some error happened!
});
Hopefully, this solves your problem.