Identity Provider
Google Provider
We have to enable the Google provider in the Firebase console first.
const provider = new GoogleAuthProvider()
/* */
signInWithPopup(auth, provider).then(() => {
/* we may reload the page */
window.location.reload()
})