验证使用 Gmail 的 .NET 应用程序时出现问题

Problems with verifying .NET app that uses Gmail

我创建了一个控制台应用程序,它每小时读取一次我的 Gmail 收件箱,该应用程序部署到 Azure 并且 运行 作为 WebJob。

收到一封来自 Google 的关于没有比赛屏幕的电子邮件。 Google 要我输入 'Application Homepage link',但没有,因为它不是网站。

知道如何解决这个问题吗?

If your app is only for your organization or G Suite domain, you can mark it as internal-only in the OAuth consent screen configuration:

  1. Go to the GCP Console OAuth consent screen page.
  2. Click the Project selector drop-down at the top of the page.
  3. On the Select from dialog that appears, select your project.
  4. Under Application type, select Internal, and then click Save.

如果上述情况不适用于您的话。 不幸的是,解决它的唯一方法是建立一个他们要求的页面。我建议寻找某种免费托管页面。我相信 Azure 和 Google 都提供免费的网站托管服务。如前所述,pages.github.com 也可以是一个选项。