Wil

My approach to OAuth 2.0 is indeed tied to JS in the browser... and this is really the way it was intended to be: OAuth was created to fill that web-app need.

However there are other approaches which can be used from desktop apps (or even server apps), but I know nothing about how they work. To find out, I'd advise starting with Google's APIs and its help in that area - it is how I got started.

Mike