[oauth] Re: HMAC-SHA1 signer

2009-10-15 Thread Robert Winch
I would consider using a library that already does this for you. There are three things that MAY cause you problems. 1) What is the value of the key that you are passing in? The key to sign should be oauthParamEncode(consumerSecret) + + oauthParamEncode(tokenSecret). I define oauthParamEncode as

[oauth] Re: HMAC-SHA1 signer

2009-10-15 Thread Partha Bhattacharya
Thanks Robert,I was able to do this using the signer provided in Gdata library and it worked. -partha On Thu, Oct 15, 2009 at 10:29 PM, Robert Winch rwi...@gmail.com wrote: I would consider using a library that already does this for you. There are three things that MAY cause you problems.

[oauth] Re: Details on OAuth Session Extension?

2009-10-15 Thread Robert Winch
Allen, Thank you for your reply...it was very helpful. I had some thoughts on how to best implement the OAuth Session Ext, but wanted some feedback from the community to make sure I am not missing something. Your response has confirmed that I was on the right track. The one thing that I am still

[oauth] Re: new to oauth

2009-10-15 Thread Robert Winch
As John pointed out you should not set the accessToken to you should leave it null. I believe if you change this it will fix your problem. Two legged OAuth does not specify the access token on the request (since access token is never requested) [1]. I think the error you are seeing occurs since