bytespider/jsOAuth — pull request #28 by p3k (2012-01-03 20:59:33+00:00)
Title: Additional option for using a proxy URL

If you have setup http://foo.org/bar as proxy for http://bar.org then you can serve a script
file from foo.org and issue an oauth request to bar.org like this:

var oauth = OAuth({
proxyUrl: 'http://foo.org/bar',
consumerKey: '...',
consumerSecret: '...'
});

oauth.get('http://bar.org/oauth/request_token', function() { /* ... */ });

Also works with https URLs. (But remember to enable SSLProxyEngine if you are using Apache!)