Running Google App Engine application on multiple customer domains

风流意气都作罢 提交于 2019-11-30 04:02:45

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.

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!