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

TypeError: Property 'next' of object #<Context> is not a function #19

Open
hamsterready opened this issue Dec 3, 2013 · 2 comments
Open

Comments

@hamsterready
Copy link

Using geddy v0.11.8.

Generated new app and run geddy auth. Updated secrets with twitter keys. Started the app.

Accessed http://localhost:4000/login and followed up to http://localhost:4000/auth/twitter

Receiving:

TypeError: Property 'next' of object #<Context> is not a function
at Context.actions.error (/home/hamster/tmp/x/node_modules/passport/lib/passport/context/http/actions.js:91:8)
at /home/hamster/tmp/x/node_modules/passport-twitter/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:196:30
at /home/hamster/tmp/x/node_modules/passport-twitter/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:518:17
at passBackControl (/home/hamster/tmp/x/node_modules/passport-twitter/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:374:13)
at IncomingMessage.<anonymous> (/home/hamster/tmp/x/node_modules/passport-twitter/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:386:9)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickDomainCallback (node.js:459:13)

Am I doing something wrong?

I tried with twitter only (removed others from secrets.json) and commented out

var SUPPORTED_SERVICES = [
  'twitter'
//, 'facebook'
//, 'yammer'
];

but still no luck.

@tbjers
Copy link
Contributor

tbjers commented Aug 2, 2014

This error is not very intuitive. You need to change the callback and other URLs for your Twitter app to http://localhost:4000/ in this case.

@Preetam007
Copy link

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

3 participants