我最近部署了GAE应用程序(即http://www.stashboard.org/)以帮助管理我公司的应用程序池。Google App Engine上的域限制认证
为了不发布池的状态tout每个人(客户,其他公司...)我希望只允许访问那些用他们的公司帐户登录(即:[email protected])的人。
域名“mycompany.com”不由谷歌管理。
当我设置身份验证类型为“谷歌Apps域”我再也不能登录到应用程序,我得到一个错误500,而不是:登录
Error: Server Error
The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it.
以下错误:
2013-10-21 14:42:57.856 /admin 500 55ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 194.206.149.66 - - [21/Oct/2013:05:42:57 -0700] "GET /admin HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36" "xxxxxx.appspot.com" ms=56 cpu_ms=0 app_engine_release=1.8.6 W 2013-10-21 14:42:57.856
Authentication for the Google Apps domain mycompany.com can only be performed when requests are served from a subdomain of that domain or it has been approved through the Google Apps Control Panel. See https://developers.google.com/appengine/articles/auth
链接的文档对我的帮助不大,负责管理Google Apps的管理员在控制面板中找不到如何“批准”域(appspot.com,我猜)。
仅供参考:这是我第一次与GAE合作,这使我成为我公司中最有经验的GAE用户......所以我们在这里相当无能。
您是说该域名不是由Google管理,然后您的Google Apps管理员找不到内容..所以我的问题是,mycompany.com是否由Google Apps管理? – Lipis
你可以试试这个。 https://support.google.com/a/answer/45690?hl=zh-CN –
@Lipis:域名不是由谷歌管理,但我的公司仍然使用Gapps。 – girardid