Javascript 页面加载时连接中断-Firefox-Firebase-signInWithPopup()

Javascript 页面加载时连接中断-Firefox-Firebase-signInWithPopup(),javascript,facebook,firefox,firebase,firebase-authentication,Javascript,Facebook,Firefox,Firebase,Firebase Authentication,我目前有一个网站,使用Firebase通过facebook验证用户身份。我正在使用Firebase JS SDK和signInWithPopup()方法对我的用户进行身份验证 该网站在Chrome上运行良好,但当我的用户尝试使用Firefox登录时,他们会看到以下错误 The connection to wss://s-usc1c-nss-104.firebaseio.com/.ws?v=5&s=Tqa1ImoPipzRYUPJ8vnALN7Fjzda2roZ&ns=my25pi

我目前有一个网站,使用Firebase通过facebook验证用户身份。我正在使用Firebase JS SDK和signInWithPopup()方法对我的用户进行身份验证

该网站在Chrome上运行良好,但当我的用户尝试使用Firefox登录时,他们会看到以下错误

The connection to wss://s-usc1c-nss-104.firebaseio.com/.ws?v=5&s=Tqa1ImoPipzRYUPJ8vnALN7Fjzda2roZ&ns=my25pics was interrupted while the page was loading.
此错误的可能原因是什么?如何或最快的修复方法是什么

感谢您的帮助

谢谢

我建议您在Firefox中使用而不是登录WithPopup。注意:在用户重定向回您的页面后,您还需要使用来获取身份验证结果

从Firebase文档:

// Sign in with redirect:
auth.signInWithRedirect(provider)
// The user is redirected to the provider's sign in flow...
// Then redirected back to the app, where we check the redirect result:
auth.getRedirectResult().then(function(result) {
<save authentication results>
});
//使用重定向登录:
auth.signiWithRedirect(提供程序)
//用户被重定向到提供商的登录流。。。
//然后重定向回应用程序,我们在其中检查重定向结果:
auth.getRedirectResult().then(函数(结果){
});
我建议在Firefox中使用而不是登录WithPopup。注意:在用户重定向回您的页面后,您还需要使用来获取身份验证结果

从Firebase文档:

// Sign in with redirect:
auth.signInWithRedirect(provider)
// The user is redirected to the provider's sign in flow...
// Then redirected back to the app, where we check the redirect result:
auth.getRedirectResult().then(function(result) {
<save authentication results>
});
//使用重定向登录:
auth.signiWithRedirect(提供程序)
//用户被重定向到提供商的登录流。。。
//然后重定向回应用程序,我们在其中检查重定向结果:
auth.getRedirectResult().then(函数(结果){
});