Hi, If you restrict authentication to a specific domain, when a user is logged in it must also serve off of that domain.
-Marzia On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma <[email protected]> wrote: > > Hi, > > I have a google app with authentication restricted only to my google > apps domain users. I am using the following code to redirect the user > to login in case the user is not logged in. > > self.redirect(users.create_login_url("/")) > > This was working fine until yesterday (before the 1.1.9 release), But > today when I go to homepage of my app, instead of redirecting to the > login page, I get the following error. > > Traceback (most recent call last): > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > __init__.py", line 501, in __call__ > handler.get(*groups) > File "/base/data/home/apps/zebuengine/2.331336139814018406/main.py", > line 90, in get > redirect_address = users.create_login_url("http:// > zebuengine.appspot.com/") > File "/base/python_lib/versions/1/google/appengine/api/users.py", > line 156, in create_login_url > raise NotAllowedError > NotAllowedError > > This is still working fine for my application in which i have > authentication set to gmail users. But not working now only for my > google apps domain users. Is something broken in the new release? > > Regards, > Mayank > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
