Firebase 连接 SHA1 生产指纹时出错

Mar*_*rco 2 android firebase

我们在连接 SHA1 生产指纹时遇到了 Firebase 错误。

应用 X 已在 Google Play 商店中发布,但未连接到 Firebase。我们已经使用旧的签名证书 (jks) 更新了应用程序,并且我们已经将应用程序与一个全新的 Firebase 帐户连接起来。

我们成功地将 Android 应用程序添加到新项目中,但是当我们尝试为生产 Firebase 添加 SHA1 指纹时,返回此错误

{
  "error": {
    "code": 403,
    "message": "clientauthconfig.clients.get not allowed: \ncom.google.identity.boq.appidentity.authorization.PermissionDeniedException",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.internal.firebase.v1.ErrorCode"
      }
    ]
  }
}
Run Code Online (Sandbox Code Playgroud)

一些想法?

Hed*_*deH 5

您是否偶然启用了 Google Play 应用签名?

如果是 - 您需要使用他们为您生成的 SHA-1,而不是来自原始密钥库的 SHA-1。

转到Google Play Console--> Release management--> 使用App signing certificateSHA-1 中的应用程序。