我最近部署了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