Hi Denis,

Auth via appspot.com will only work if you've added that app to your Google
Apps control panel. The error you're seeing is because you haven't added
this second app to your Apps control panel.

-Nick Johnson

On Mon, Mar 15, 2010 at 10:48 PM, Denis Moskalets <[email protected]>wrote:

> 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 <[email protected]> wrote:
> > 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

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