Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double encoded signature #3

Closed
dprize opened this issue Dec 30, 2011 · 0 comments
Closed

double encoded signature #3

dprize opened this issue Dec 30, 2011 · 0 comments

Comments

@dprize
Copy link

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 pushed a commit that referenced this issue Jan 13, 2012
@sintaxi sintaxi closed this as completed Jan 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants