Firebase Facebook身份验证给出错误拒绝以显示< oauth redirect url>在框架中,因为它将"X-Frame-Options"设置为"sameorigin" [英] Firebase Facebook Authentication gives error Refused to display <oauth redirect url> in a frame because it set 'X-Frame-Options' to 'sameorigin'
问题描述
我使用firebase的登录仍然运行良好,因为从今天开始,显然没有任何更改,我收到此错误:
My login with firebase was working fine yet, since today and apparently without any change, I'm getting this error:
Refused to display <oauth redirect url> in a frame because it set 'X-Frame-Options' to 'sameorigin'
登录未通过.我使用的是Firebase 5.5.3,但与6.3.0(最新)完全相同.
And the login does not get through. I'm using firebase 5.5.3 but with 6.3.0 (latest) is exactly the same.
var provider = new firebase.auth.FacebookAuthProvider();
provider.addScope('public_profile,email');
firebase.auth().signInWithPopup(provider).then(function (result) {
console.log(result);
});
它甚至都不会记录结果...
It won't even log the result...
对此有何建议?
推荐答案
这是Firebase Hosting的问题.正在解决.
This is an issue with Firebase Hosting. It's being addressed.
将来,如果某些情况发生了重大变化,请直接联系Firebase支持,以便他们可以收集信息并根据需要上报到工程.
In the future, if something changes drastically, please contact Firebase support directly so they can collect information and escalate to engineering as needed.
这篇关于Firebase Facebook身份验证给出错误拒绝以显示< oauth redirect url>在框架中,因为它将"X-Frame-Options"设置为"sameorigin"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!