v1s*_*hva 12 google-openid google-oauth google-cloud-platform
我正在尝试为 Oauth 同意屏幕注册我的应用程序,以便我可以创建 OAuth 客户端 ID。即使我已正确提交所有内容,我仍然在表单末尾收到此验证错误。
保存您的应用程序时出错
并且此错误未说明表单中的哪个输入无效。同样在开发工具窗口的网络选项卡中,每次我提交请求时,我都可以看到正在发起 POST 请求,但失败并显示以下错误。
{"error":{"code":3,"message":"The request failed because one of the field of the resource is invalid.","details":[{"@type":"type.googleapis.com/google.rpc.PreconditionFailure","violations":[{"type":"client_auth_config","subject":"?error_code=9&error_field_name=UpdateBrandWithMaskRequest.brand_id&error_field_value=0"}]}]}}.
非常感谢有关如何解决此问题的任何建议。我也就这个问题联系了谷歌支持,但截至目前,他们说一切正常,清除缓存和 cookie,但它不起作用。我在此处附上了我正在使用的同意配置向导的捕获。
小智 26
将项目 ID 放在 App Name 中
小智 10
尝试将您的支持电子邮件添加到 Firebase 控制台。转到 firebase 控制台->设置->常规->支持电子邮件->添加电子邮件。现在,在创建 oAuth 同意屏幕时,添加相同的电子邮件 ID 开发人员联系信息以及支持电子邮件。它对我有用。
To expand on the top answer, there are numerous underlying reasons why this step of the app registration would fail. In the case where the application name is not valid (fails any of the checks that Google Cloud Platform enforces), then setting the application name to the project ID is guaranteed to fix the problem, as the project ID will always happen to be a valid application name.
It may be worth digging into the underlying validation error, which can be achieved by inspecting the network request that is sent upon submitting the form. In the "Network" tab of the Developer Tools, select the POST request that is captured after clicking the "SAVE AND CONTINUE" button. The "Response" tab (shown below for my case) should display an error object with a more descriptive message.
In my case, it seems that the application name was deemed abusive:
The request has been classified as abusive and was not allowed to proceed.
which I suspect is because it contains the word "Google".
| 归档时间: |
|
| 查看次数: |
5519 次 |
| 最近记录: |