Reactjs 使用firebase登录google会返回一个空白页面

Reactjs 使用firebase登录google会返回一个空白页面,reactjs,firebase,authentication,firebase-authentication,google-authentication,Reactjs,Firebase,Authentication,Firebase Authentication,Google Authentication,大家好。我正在尝试使用设置google身份验证 火基。所以我在auth对象上有一个signInWithPopup方法。但是 当我点击按钮时,它会给我一个空白的标签而不是列表 要从中选择的google帐户的数目。我正在使用firebase npm软件包 这是我的密码。。有人能帮忙吗 firebase.initializeApp(config); export const auth = firebase.auth(); export const firestore = firebase.fires

大家好。我正在尝试使用设置google身份验证 火基。所以我在auth对象上有一个signInWithPopup方法。但是 当我点击按钮时,它会给我一个空白的标签而不是列表 要从中选择的google帐户的数目。我正在使用firebase npm软件包

这是我的密码。。有人能帮忙吗

firebase.initializeApp(config);

export const auth = firebase.auth();
export const firestore = firebase.firestore();

const provider = new firebase.auth.GoogleAuthProvider();
provider.setCustomParameters({ prompt: 'select_account' });
export const signInWithGoogle = () => auth.signInWithPopup(provider);

export default firebase;