Firebase Facebook Authentication gives error Refused to display <oauth redirect url> in a frame because it set 'X-Frame-Options' to 'sameorigin'

帅比萌擦擦* 提交于 2019-12-04 06:54:13

问题


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'

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...

Any advise regarding this?


回答1:


This is an issue with Firebase Hosting. It's being addressed.

In the future, if something changes drastically, please contact Firebase support directly so they can collect information and escalate to engineering as needed.



来源:https://stackoverflow.com/questions/57077808/firebase-facebook-authentication-gives-error-refused-to-display-oauth-redirect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!