gpt4 book ai didi

谷歌浏览器中的 firebase 身份验证

转载 作者:行者123 更新时间:2023-12-02 04:31:55 24 4
gpt4 key购买 nike

firebase google 身份验证方法在 google chrome 中失败。我在开发工具控制台中看到了这两条消息。

OPTIONS https://www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key=my-app-key&cb=1514367607784 net::ERR_QUIC_PROTOCOL_ERROR

Info: The current domain is not authorized for OAuth operations. This will prevent signInWithPopup, signInWithRedirect, linkWithPopup and linkWithRedirect from working. Add your domain (my-web-domain.com) to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.

在登录方法 firebase 控制台中设置域条目。在 google 控制台(api 和服务)中,有我的 firebase web api key ,限制 = 无,以及 OAuth2 条目,其中包含与 firebase 中显示的我的 firebase 项目匹配的正确客户端 ID 和客户端密码安慰。该域也在 Authorized JavaScript origins 部分中设置。授权重定向 URI 部分有一个条目 https://fbase-unique-name.firebaseapp.com/__/auth/handler

据我所知,这在大约一周前开始失败,并且只发生在 chrome 上。我已经在 chromium、firefox、egde、brave in linux 和 windows 上试过,它可以工作。提前致谢

最佳答案

我有类似的问题,只发生在最新的 chrome 中,但我的错误是

auth/network-request-failed

我的解决方案是在 https://www.google.com/chrome/browser/beta.html 上下载 beta chrome channel 不知何故错误不再弹出,但不确定是什么导致了问题。

关于谷歌浏览器中的 firebase 身份验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47990285/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com