在 GCP 中未获得用于 OAuth 验证的 "Submit for verification" 按钮

Not getting the "Submit for verification" button for OAuth verification in GCP

我在 Google Apps 脚本中创建了一个 Gmail/Calendar 插件,我想将其发布到市场。

我正在按照 https://developers.google.com/workspace/marketplace/configure-oauth-consent-screen#fill_out_the_oauth_consent_screen. I am on the "Submit for OAuth verification" step which leads to https://support.google.com/cloud/answer/9110914#submit-howto 中的步骤操作。它说:

  1. 单击“编辑应用”按钮。
  2. 在配置页面输入所需信息,然后点击提交验证。如果提交验证按钮没有出现在配置页面的末尾,请保存您已完成的内容并重复步骤 1-4。

我已经完成了所有步骤,但是 提交验证 从未出现。我不确定我做错了什么?

您的第一个问题是您没有 own/control 的域名。 gmail.com 和 github.com 不属于您。

Verify your site ownership

您的第二个问题是您请求的范围有限。 Google 可能会要求进行安全审计。敏感范围也可以触发审核。

要验证,请创建另一个客户端并删除敏感和受限范围并添加您 own/control 的域名。要阅读有关范围的影响和可能的例外情况的更多信息:

Sensitive and Restricted Scopes