Firebase身份验证无法启用Google身份验证方法-“更新Google时出错" [英] Firebase Authentication unable to enable Google auth method - "Error updating Google"

查看:69
本文介绍了Firebase身份验证无法启用Google身份验证方法-“更新Google时出错"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google Auth登录方法启用Firebase身份验证,但是启用它并单击保存"显示错误更新Google时出错" .

I am trying to enable the Firebase authentication with the Google Auth sign-in method, but enabling it and clicking "save" shows the error "Error updating Google".

在Google Cloud Console活动日志中,它显示:

In the Google Cloud Console activity logs, it shows:

失败:google.internal.firebase.v1.FirebaseInternalProductService.EnableGoogleSignIn

Failed:google.internal.firebase.v1.FirebaseInternalProductService.EnableGoogleSignIn

显示错误消息未找到(HTTP 404):操作失败,错误代码为NOT_FOUND."

With the error message "Not found (HTTP 404): Operation failed with error code NOT_FOUND."

但是,当我在一个新的Google Cloud项目中尝试此操作时,它运行良好.我尝试删除并重新创建Firebase Admin SDK,删除并创建新应用,以及删除OAuth凭据.除了创建一个新项目外,我似乎找不到解决此问题的任何方法,但我希望保留现有的项目ID.

However, when I tried this in a new Google Cloud project, it worked perfectly. I have tried removing and recreating the Firebase Admin SDK, removing and creating a new app, and removing the OAuth credentials. I cannot seem to find any solution to this problem other than creating a new project, but I would prefer to keep my existing project ID.

或者,如果有任何方法可以重置我的GCP项目或使用相同的ID重新制作它,也可以.

Alternatively, if there is any way to reset my GCP project or remake it with the same ID, that would also be fine.

推荐答案

这听起来很意外,但是可以尝试以下几个步骤:

That sounds unexpected, but here are a few steps to try:

  1. 检查浏览器的JavaScript控制台上是否有任何相关消息.

  1. Check if there are any relevant messages on the JavaScript console of your browser.

禁用浏览器中的所有扩展,然后重试.

Disable all extensions in your browser and try again.

在隐身窗口中尝试.

在其他浏览器中尝试.

尝试使用其他网络.

如果这些都不起作用,请联系Firebase支持以获取个性化帮助进行故障排除.

If none of these work, reach out to Firebase support for personalized help in troubleshooting.

这篇关于Firebase身份验证无法启用Google身份验证方法-“更新Google时出错"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆