Good evening,

I would appreciate some pointers on how to accomplish what I think the
gentleman in this thread is doing:
http://groups.google.com/group/google-appengine/browse_thread/thread/78dadccc8b8a644d/836d75c50a6be4ae?lnk=gst&q=openid+oauth#836d75c50a6be4ae

Specifically, I'm trying to follow the suggestions from here:
https://sites.google.com/site/oauthgoog/UXFedLogin/nobrowser/input-capable-devices

I have a new AppEngine (Java) site using federated login. Everything
appears to be working with that setup - I've implemented /_ah/
login_required/ and am able to successfully login/logout when
accessing "secured" URLs in my application.

What I'm not getting (maybe because I'm not understanding something),
is how to get OAuth working ... my understanding is that I need OAuth
to provide my desktop application with a long-lived access token that
it can use. I've read reams of documentation, it seems, but I'm not
putting it together for some reason.

I have registered my AppEngine application with Google ... I have a
key/secret and the RSA cert/key from that process. I have no idea how/
where to use this ... presumably this is part of the hybrid openid
+oauth mechanism, but following the instructions here:
http://code.google.com/apis/accounts/docs/OpenID.html#oauth -- I'm not
seeing where/how.

My goal is pretty straightforward ... users install the desktop app,
which needs to access secured URLs in my app engine app - instead of
providing username/password in the desktop app, users go to a URL in
my app engine app ... they login (using any OpenID provider),
<authentication/authorization/oauth stuff> happens, then they get a
key to enter into the desktop app ... the desktop app turns this
around and gets the long-lived OAuth token for accessing secured URLs
in my app engine app.

The <oauth stuff happens> bit in the middle is what I'm apparently
missing ...

Any guidance (code samples/flows) would be excellent and much
appreciated.

Thanks,
Brice

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