I think I found the solution, and it is for React for anyone who using it:
const provider = new firebase.auth.GoogleAuthProvider()
provider.addScope('email');
provider.setCustomParameters({
'hd': 'augustana.edu'
});
the 'hd' parameter stands for 'hosted domain'