[oauth] Re: OAuth JS API results in signature_invalid at random

2009-06-22 Thread Matt Raible
If you read my blog entry (listed below) on how I did this, I used a ProxyServlet to get around the SOP in browsers. http://raibledesigns.com/rd/entry/implementing_oauth_with_gwt Matt On Sat, Jun 20, 2009 at 4:22 PM, John Kristianjmkrist...@gmail.com wrote: Can a GWT application communicate

[oauth] Re: OAuth JS API results in signature_invalid at random

2009-06-20 Thread John Kristian
Yes, your request for an access token should be signed with the request token secret; that is the oauth_token_secret that you received with your request token. Also, requests for access to APIs should be signed with the access token secret, that is the oauth_token_secret that you received with

[oauth] Re: OAuth JS API results in signature_invalid at random

2009-06-17 Thread Chirag Shah
Hey Matt, try the code below. It works reliably for me. Make sure you've included: http://oauth.googlecode.com/svn/code/javascript/oauth.js http://oauth.googlecode.com/svn/code/javascript/sha1.js script type=text/javascript var requestUrl = 'http://...'; var ck = '...';