Skip to content

Loading…

Allow 2-legged oauth #77

Open
wants to merge 2 commits into from

2 participants

@diegovar

I added a small change to check for an undefined oauth token to allow for 2-legged oauth where the oauth token must be sent as an empty string.

@camme

+1 for this one!

Any info on when this might be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 28, 2011
  1. @diegovar

    Update lib/oauth.js

    diegovar committed
Commits on May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oauth.js
View
2 lib/oauth.js
@@ -250,7 +250,7 @@ exports.OAuth.prototype._prepareParameters= function( oauth_token, oauth_token_s
"oauth_consumer_key": this._consumerKey
};
- if( oauth_token ) {
+ if( oauth_token != undefined) {
oauthParameters["oauth_token"]= oauth_token;
}
Something went wrong with that request. Please try again.