Hey Joel,
To customize the OAuth domain for the Google/Facebook sign in, you have to use custom domains with Firebase Hosting (since the handler page is hosted there).
This domain/webpage would also need to be whitelisted with the OAuth provider. For Google, it is done automatically.
Finally, you need to replace their authDomain in the web initialization to their custom domain:
firebase.initializeApp({
apiKey: ...,
....
});
Best regards,
Bassam