[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 Kristian wrote: > > Can a GWT application communicate cross-domain, with

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

2009-06-20 Thread John Kristian
Can a GWT application communicate cross-domain, with an OAuth service provider other than the GWT application server? How? I've read that browser security restrictions prevent this. http://www.mooreds.com/wordpress/archives/000500 On Jun 17, 8:28 am, Matt Raible wrote: > I'm trying to use the

[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 yo

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

2009-06-17 Thread Matt Raible
Thanks for your suggestion. I tried using this but I'm still experiencing the same problem. The good news is yours looks a lot simpler and it appears to work just as good as the last one. Looking at both Paul Donnelly's and yours, neither contains the "tokenSecret" in the accessor that's used to s

[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 var requestUrl = 'http://...'; var ck = '...'; var cks = '...'; var