google-appengine  

[google-appengine] Re: Auth with google apps account s — depends on billing status?

Denis Moskalets
Mon, 15 Mar 2010 15:48:58 -0700

Both apps have auth through the same google apps domain.

Copy-paste from from both apps -> appspot.com -> Application Settings:

Authentication Options:
When this application was created it was configured to allow anyone
with a valid xxx.xx Google Apps domain to sign in if the Google
Accounts API is used for authentication. Learn more

Only difference between two apps: one have billing enabled, another
— doesn't have.

On Mar 15, 4:57 pm, Wooble <geoffsp...@gmail.com> wrote:
> On Mar 15, 3:06 am, Denis Moskalets <denya....@gmail.com> 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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.