This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

google oauth from swing  RSS feed

 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
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.

thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!