Firebase Google身份验证在Chrome扩展程序中挂起

时间:2014-05-05 16:43:46

标签: authentication google-chrome-extension firebase

我正在尝试在Chrome扩展程序的弹出窗口中实施Firebase的Google身份验证。常规的电子邮件/密码验证工作正常,但是当我尝试使用Google身份验证时,它会挂在灰色屏幕上,其网址以“https://auth.firebase.com/auth/google/callback?state= ...”开头。

知道问题是什么吗?

1 个答案:

答案 0 :(得分:1)

请注意,Firebase Simple Login是基于Firebase Authentication构建的单独服务,旨在简化用户身份验证和生成Firebase身份验证。用于Security Rules的令牌。

在撰写本文时,由于OAuth中验证来源的限制,因此不支持通过Firebase简单登录通过浏览器扩展程序中的弹出窗口进行身份验证。要使用Firebase简单登录执行此任务,必须在托管域上进行登录。

有关相关信息和答案,请参阅Firebase Authentication in a Chrome Extension Background Page