Ah, I think FriendConnect also sets a fcauth cookie which you can
read.
http://code.google.com/apis/friendconnect/opensocial_rest_rpc.html#site-cookie

Check out the FriendConnectUser class in
http://code.google.com/p/allforgood/source/browse/trunk/frontend/userinfo.py

--Matthew

On Aug 20, 6:31 pm, Matthew Blain <[email protected]> wrote:
> I believe that FriendConnect works at the JavaScript level (e.g. runs
> in the user's browser) while the App Engine backend is running on
> Google's servers. There's no direct connection between the two. If you
> want to use FriendConnect as your authentication mechanism, you may
> want to use it by itself entirely, without using the App Engine User
> API at all.
>
> --Matthew
>
> On Aug 20, 5:41 am, brandoneggar <[email protected]> wrote:
>
>
>
> > I'm just getting started on my first app and could use some
> > clarification on the logon process.
>
> > I've created a test page with a friend connect members gadget on the
> > page.  I assumed by signing in using this gadget I could then call
> > users.get_current_user() and retrieve the currently logged in user.
> > This returns 'unknown user'.  If I put a link on the page to login
> > using users.create_login_url() then I can retrieve the current user.
> > I was kind of hoping to just use the friend connect gadget so I don't
> > have to have 2 separate logins on the page.
>
> > What's the correct way to do this?
--~--~---------~--~----~------------~-------~--~----~
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