Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use oauth_verifier with getOAuthAccessToken for twitter.

  • Loading branch information...
commit f7dc1277da25c34006720aff3dd8b5b1bda03610 1 parent 00e8681
@mzgoddard mzgoddard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/auth.strategies/twitter.js
View
2  lib/auth.strategies/twitter.js
@@ -52,7 +52,7 @@ module.exports= function(options, server) {
}
else if( parsedUrl.query && parsedUrl.query.oauth_token && request.session.auth["twitter_oauth_token_secret"] ) {
self.trace( 'Phase 2/2 : Requesting an OAuth access token.' );
- my._oAuth.getOAuthAccessToken(parsedUrl.query.oauth_token, request.session.auth["twitter_oauth_token_secret"],
+ my._oAuth.getOAuthAccessToken(parsedUrl.query.oauth_token, request.session.auth["twitter_oauth_token_secret"], parsedUrl.query.oauth_verifier,
function( error, oauth_token, oauth_token_secret, additionalParameters ) {
if( error ) {
self.trace( 'Error retrieving the OAuth Access Token: ' + error );
Please sign in to comment.
Something went wrong with that request. Please try again.