且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在多个客户域上运行Google App Engine应用程序

更新时间:2023-10-16 16:14:40

客户将通过他们的Google Apps控制面板将您的应用程序添加为服务。 此处列出了一些详细信息。

The customer will add your application as a service via their Google Apps control panel. Some of the details are outlined here.

要处理多租户,您可能需要使用服务器主机名。从主机名中,您将能够获得域名以用于您的名称空间。

To handle multi-tenancy you will probably want to use the server host name. From the host name, you'll be able to get the domain name to use for your namespace.

您必须处理验证域是有效的客户你的应用。我可能会让他们注册,然后提供设置Google Apps映射的指示。

You'll have to handle validating the domain is a valid customer in your app. I would probably let them register, then provide instructions for setting up the Google Apps mapping.

如果您想允许他们使用与其域绑定的Google Apps帐户登录需要使用 OpenID (联合登录)。

If you want to allow them to login using Google Apps accounts tied to their domain you'll need to use OpenID (federated login).