我们正在尝试在我们的SAAS产品中支持Google登录 . 在为Web应用程序生成客户端ID时,我们遇到了如何配置Origin URI的问题 .

问题是我们的产品通常托管在我们的客户站点 . Google似乎没有考虑用例,因为Google登录配置器中的措辞如下所示:

Authorized Javascript Origin

This is the origin URI of the client application. It can't contain a wildcard (http://*.example.com) or a path (http://example.com/subdir). If you're using a nonstandard port, you must include it in the origin URI.

我们在这里缺少一些东西吗?如何为可以从我们不了解先验的域提供的Web应用配置Google登录客户端ID?