无法恢复Google API项目,并且“此客户端ID全局唯一且已在使用中”。 [英] Unable to recover Google API project and "This client ID is globally unique and is already in use."

查看:394
本文介绍了无法恢复Google API项目,并且“此客户端ID全局唯一且已在使用中”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直担任Android项目的顾问,使用Google oAuth2对用户进行身份验证和识别。 Android项目正在投入生产,并可在Google Play上下载。 oAuth客户端ID和整个Google API项目由我在客户的域名上使用我的名字中的Google Apps电子邮件地址设置进行设置。



由于项目具有已经发布并且我的客户端工作已经完成,我的电子邮件地址已被停用并随后被删除(或者看起来,客户声称不能重新创建它)。由于我的电子邮件帐户被设置为API项目的所有者,因此删除我的电子邮件地址也会导致停用(或删除)API项目。这当然严重损害了该应用程序。



为了重新开始并运行,我在客户的域中为我设置了一个新的电子邮件地址,而我创建了一个新的API项目。问题是我无法创建oAuth客户端ID,因为包名和SHA1键与已存在的应用程序相同。我得到这个客户端ID是全球唯一的,并且已经在使用中的消息,我似乎陷入了一个非常尴尬的境地。我看到了一些可能的解决方案,但我不确定如何继续:


  1. 重新激活原始电子邮件地址希望API项目仍然与该帐户相关联

  2. 使用Google工程师重新激活Google API项目并将其分配给一个电子邮件帐户在客户端的域名
  3. 在谷歌工程师的帮助下,从某些Google数据库中删除客户端ID并设置一个新的API项目并发布新版本的最糟糕的情况:接受损失,更改软件包名称,发布新应用程序,并请求用户迁移到新应用程序。

    >

我已阅读Google监视此处的Google-oauth标记,并希望从SO获得一些帮助社区或Google本身。非常感谢!

解决方案

未来,请协调项目的长期所有权,因为Google帐户拥有该项目是Google授权系统的一个重要方面。例如,项目的所有者代表用户签署了ToS以代表用户访问API。



我会跟进您的工作,找出解决此问题的方法。

I've been working as a consultant on an Android project that uses Google oAuth2 to authenticate and identify it's users. The Android project is in production and available for download on Google Play. The oAuth client ids and the entire Google API project was setup by me using a Google Apps e-mail address setup in my name on the client's domain.

Since the project has been released and my work with the client is finished my e-mail address has been deactivated and subsequently deleted (or so it seems, the client claims to not being able to recreate it). Since my e-mail account was set as the owner of the API project the deletion of my e-mail address has resulted in the deactivation (or deletion) of the API project as well. This has of course seriously crippled the app in question.

To get things up and running again a new e-mail address was set up for me on the client's domain and I created a new API project. The problem is that I'm unable to create the oAuth client ids since the packagename and SHA1 key are the same as for the app already live. I get the "This client ID is globally unique and is already in use" message and I seem to be stuck in a very awkward situation. I see a couple of possible solutions but I'm not sure how to proceed:

  1. Reactivate the original e-mail address in the hope that the API project is still linked to that account

  2. Reactivate the Google API project with the help of a Google engineer and assign it to an e-mail account on the client's domain

  3. Delete the client ids from some Google database with the help of a Google engineer and setup a new API project and release a new version of the app.

  4. Worst case: accept the loss, change package name, release a new app and kindly ask users to migrate to the new app.

I've read that Google monitors the google-oauth tag here on SO and I hope to get some help either from the SO community or Google itself. Many thanks in advance!

解决方案

In the future, please coordinate for long-term ownership of the project, since the Google accounts that own the project are an important aspect of Google's authorization system. For instance, the owner of the project signs ToS for accessing the APIs on behalf of users.

I will follow up with you to find a way to sort out this issue.

这篇关于无法恢复Google API项目,并且“此客户端ID全局唯一且已在使用中”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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