Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

google oauth from swing

 
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