jaredhanson/passport-twitter — Issue #4: TypeError: Cannot read property 'oauth_token_secret' of undefined
Author: jrodenburg
Created: 2012-02-17 18:35:51+00:00
State: open

Hitting this error with Twitter. The problem is here:

at Strategy. (/Users/me/bits/stash/node_modules/passport-twitter/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:119:71)

Line 119:
this._oauth.getOAuthAccessToken(oauthToken, req.session[self._key]["oauth_token_secret"], oauthVerifier, function(err, token, tokenSecret, params) {

req.session[self._key] is null/undefined. Problem is down in OAuth strategy.

Anyone else running into this scenario?