double encoded signature #3

dprize opened this Issue Dec 30, 2011 · 0 comments


None yet
2 participants

dprize commented Dec 30, 2011

On line 28 of Oauth.js signature is being encoded twice.

 var getSignature = function(tokenSecret){
   return encode(consumerSecret) + "&" + encode(tokenSecret)
 var signature = encode(getSignature(secret))

Changing it to the following solves the problem of not being able to receive an oauth token.

 var signature = getSignature(secret)

eboudrant added a commit to eboudrant/node-dbox that referenced this issue Jan 2, 2012

sintaxi added a commit that referenced this issue Jan 13, 2012

@sintaxi sintaxi closed this Jan 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment