This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes google oauth from swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "google oauth from swing" Watch "google oauth from swing" New topic

google oauth from swing

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

the process of oauth with Google docs API requires a servlet server so that the Google could post access token into your defined callback url.
doing this work inside a web server like tomcat is trivial. But what i need is to do same oauth from a swing application.
is there some existing swing oauth library that facilitates this work?

I suppose i need an embedded browser and also an embedded servlet container in my swing app to do this work. can you show me how i can embbed both a servlet container and web browser so i can perform the oauth process? probably something like the GWT Host mode server in early versions of GWT. i would like something like the GWT embeded jetty and browser used for GWT Hosted mode. or maybe some other swing oauth library.

I agree. Here's the link:
subject: google oauth from swing
jQuery in Action, 3rd edition