Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

google oauth from swing

 
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic