On Mar 15, 3:06 am, Denis Moskalets <[email protected]> wrote:
> I have two appspot applications.
> One — fot tests, second — production.
> Not important, why it is so.
>
> Two apps have same source code.
> Auth throw Google Apps Accounts enabled on both.
> Billing enabled only for one app.
>
> Apps are closed for public, so only registred and authorized users can
> access it. When u try to open page, you will get redirect to default
> google apps login page.
>
> So.
> When i try to open production app — all right, i've got redirect to
> login page:http://ctms-release.appspot.com/
>
> The second app generate 500 eror.http://ctms-medms-test.appspot.com/
>
> In logs:
>   File "/base/data/home/apps/ctms-medms-test/.../googletags.py", line
> 11, in google_login_url
>     return escape(users.create_login_url(redirect))
>   File "/base/python_lib/versions/1/google/appengine/api/users.py",
> line 179, in create_login_url
>     raise NotAllowedError
>
> Billing is turned off for this non-workin' app.
>
> I've looked up manual, docs and FAQs, but there is nothing about
> difference in login procedure between free/billed apps.

If an application has login restricted to a Google Apps domain, you
cannot create login URLs when the page is being visited through
appspot; it's only possible on the actual domain to which login is
restricted.  I'd guess you only actually restricted logins on the test
application and not the real application; you can check this (but,
alas, not change it) under Application Settings in the appengine
dashboard.

Billing should not have any effect on the login process, as far as I
know.

-- 
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.

Reply via email to