I have an application running on GAE and would like to allow the user to use the subdomain on their own google domain (e.g. myapp.example.com) to host their own custom version of my application.
It's easy to add a subdomain ... just add the app by id to your Google app and assign it a custom subdomain.
But since I want to give them the opportunity to customize their site, I want to associate a user subdomain with a user. This becomes a security issue since I donβt know how to associate a person who sets up a custom subdomain with a user registered in my application.
I think I could do this if I joined the application market ( $ 100 ) ... by adding a configuration step in the installation and asking for an administrator user. Has anyone done this? Do I need to be part of the market?
I can also ask the administrator to add a TXT record to the DNS domain and verify that she did (just like Google checks domains). This needs to be done outside of GAE because the GAE API does not support DNS queries .
Please note that I canβt just agree on the end of the domain in the userβs login, as several users from the same domain (for example, user1@example.comand user2@example.com) can use my application, and I only want to allow the administrator to set the subdomain in order to be able to configure this subdomain.
Has anyone done this? Any solutions?
source
share