I am still having trouble finding any sort of tutorials for authenticating a native iOS application with OAuth 2 Facebook on Google App Engine. I realize I might need to use a proxy on GAE (like here: Authenticate with Google App Engine from an Iphone Native Client ) to create a session with facebook but what is the cleanest way to do a SSO with native facebook UI?
I'd guess I would use something along the lines of the Facebook ios Auth tutorial: http://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/
But then how do I instead give the session to my GAE server and also cache the session on the client device so it can authenticate https requests to my server? I basically want to use simple-auth on GAE and have my iOS application act like a native (web) client (but not using UIWebViews). Isn't there a simple way to do this?
By the way I am using python on Google App Engine. I found this for Java but I honestly don't know exactly what it does because the documentation hasn't been written yet http://www.lean-engine.com/index.html
Similar unanswered question: https://stackoverflow.com/questions/14878727/oauth-from-native-ios-app-with-oauth-from-facebook
EDIT: I basically want to have a login similar to Draw Something and other Zynga games that allows users to simply use their native Facebook/iOS6 authentication to authenticate API calls to my server.
EDIT2: Found this informative post, but still no tutorial about how to do it Design for Facebook authentication in an iOS app that also accesses a secured web service