2014-01-28 78 views
0

我的(空)Django項目部署就好了,但是當我切換到login: required並設置Authentication TypeGoogle Apps domain我得到一個500無法登錄到Django的在谷歌App Engine和谷歌Apps的

可悲的是有沒有按似乎沒有任何關於GAE的調試信息。我也不能在本地重現錯誤。我查了兩次輸入的域名。

任何幸運的猜測?

回答

0

好的,發現問題了。

展望AppEngine上的日誌也發現了這一點:

Authentication for the Google Apps domain example.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 

該解決方案在這裏discribed:https://developers.google.com/appengine/articles/auth#AppspotDomainAuth