Google App Engine and Google Apps domain restriction

167 views
Skip to first unread message

Joakim Dahlström

unread,
Oct 2, 2015, 7:14:03 AM10/2/15
to Google App Engine
I've created an GAE app and set it to be restricted to our Google Apps domain. 

I then deployed it to Appspot (appspot.com subdomain), and see the following error in the log when I visit the page:

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


I've tried to visit the Control Panel (admin.google.com) to add the App ID to GAE settings, but I can't seem to find where to do it.

Does anybody know? 

Nick (Cloud Platform Support)

unread,
Oct 2, 2015, 3:39:34 PM10/2/15
to Google App Engine
Hey Joakim,

Be advised that this forum isn't the best place to get specific-issue technical support. For that, stackoverflow is much better, and you should use it in future if you have such a question, since we monitor there as well, although there's also a much larger user-base. From reading your question, at any rate, I have the following recommendation:

The docs link found in that log points you to the right place. Here's the location in that docs page which discusses adding you App Engine app to your Google Apps Control Panel, and there's a link to the Google Apps doc which discusses this in more depth. This should make your Google Apps authentication aware of the appspot domain and allow authentication. 

Let me know how that goes for you. 
Reply all
Reply to author
Forward
0 new messages