Yes you are right. I will use the opensocial API and a signed
makeRequest to send the user id to AppEngine -- that's what I wanted
really. Then I can identify those records with the user id.

Would this user id be the same as the id in the Google Accounts API?
That we be awesome. Then users could also log in directly to
AppEngine.

I found a good wiki here

http://wiki.opensocial.org/index.php?title=Building_an_OpenSocial_App_with_Google_App_Engine

Thanks!

On Jul 6, 10:21 pm, "Jeff S (Google)" <[email protected]> wrote:
> Hi Rohannes,
>
> If the user is just signed in to Google (mail, docs, etc.) they will not be
> signed in to the App Engine app, so the users API will report no current
> user. The user needs to sign in for each App Engine app individually and a
> cookie is set client side which is sent in each request.
>
> How do you plan to use this information in your gadget? If you just need to
> uniquly identify users, would the gadget's profile API be sufficient?
>
> Thank you,
>
> Jeff
>
> On Fri, Jul 3, 2009 at 1:53 AM, Rohannes <[email protected]> wrote:
>
> > I'm starting to consider using a direct Javascript client-side AJAX
> > query to AppEngine rather than use Google's indirect server-side
> > cached query. Maybe then AppEngine will realise that the user is
> > logged into a Google session (since the same browser will be
> > contacting AppEngine). Is this a viable option?
>
> > I imagine there is authentication data being sent with the HTTP
> > requests which will be included if the request comes directly from the
> > client's browser but not if the request comes indirectly from
> > igmodules.
>
> > For example, even though I am logged into my Google account, and the
> > AppEngine app greets me appropriately, requests sent from the gadget
> > do not appear to come from a logged-in user. Perhaps sending these
> > requests directly from the user's browser will fix the problem.
--~--~---------~--~----~------------~-------~--~----~
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