3

I would like to implement OpenAuth in a Windows application. I am currently embedding a browser inside the application, but this solution sucks.

Is there a way to do this using raw APIs?

casperOne
  • 73,706
  • 19
  • 184
  • 253
Brian
  • 6,910
  • 8
  • 44
  • 82
  • If I'm not mistaken you can do it by firing off https requests from whatever language you choose. I had something working that used oauth to connect to facebook written in pure php. – Wug Jul 02 '12 at 18:08
  • Yeah, possibly. http://stackoverflow.com/questions/386973/web-service-authentication-using-openid http://stackoverflow.com/questions/4634408/can-non-web-applications-use-openid – Brian Jul 02 '12 at 18:52
  • I am kinda looking for a solution where I can be lazy and not re-invent the wheel though ;) – Brian Jul 02 '12 at 18:53

1 Answers1

1

Since you mention a browser, I assume you are interested in implementing an OAuth client, not a provider. You can try the Scribe library. It's written in Java, has client implementations for several different providers and is pretty easy to extend for new providers.

Michael
  • 347
  • 2
  • 13