![](/img/trans.png)
[英]Is there a Django apps pattern equivalent in Google App Engine?
[英]Can't login to Django on Google App Engine and Google Apps
我的(空)django项目可以很好地部署,但是当我切换到login: required
并将Authentication Type
设置为Google Apps domain
我得到了500。
遗憾的是,GAE上似乎没有任何调试信息。 我也不能在本地重现该错误。 我检查了两次输入的域名。
有幸运的猜测吗?
好,找到问题了。
查看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
该解决方案的描述如下: https : //developers.google.com/appengine/articles/auth#AppspotDomainAuth
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.