Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7056177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:50:11+00:00 2026-05-28T03:50:11+00:00

I want the Node everyauth module to work locally with Twitter (say). (I have

  • 0

I want the Node everyauth module to work locally with Twitter (say). (I have got it working online, but not locally.) Following this tutorial (see around 5:00) I have modified /etc/hosts and added the line

127.0.0.1 http://myExampleWebsite.com

I have also added the line

127.0.0.1 localhost local.host

as suggested in the official readme file. However,

local.host:3000/auth/twitter

errors out after a few seconds with

Error: Step getRequestToken of twitter module timed out.

Any ideas of what I might be doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:50:12+00:00Added an answer on May 28, 2026 at 3:50 am

    I struggled with this same thing. It’s kind of tricky, and consensus seems to be that you should either set up two Twitter apps (one for local use and one for public use) or just be prepared to change your Twitter app’s “callback URL” when your node app goes live.

    In my case, I didn’t need to modify my hosts file, but rather I changed the “callback URL” in my Twitter app to the following:

    http://127.0.0.1:3000/auth/twitter/callback

    If you’re using the default everyauth callback configuration, it’s automatically set to accept callbacks at /auth/twitter/callback. No matter what is in your hosts file, it should resolve to 127.0.0.1 regardless, so you’re always safe with that URL configuration when working locally.

    EDIT:

    One other thing you might want to try in addition is replacing this call

    local.host:3000/auth/twitter 
    

    with this

    127.0.0.1:3000/auth/twitter
    

    I only suggest this because if you erroneously modified something in your hosts file, that could be causing a conflict as well. If you simply added lines to your hosts file, rather than modifying what was already there, you can also try replacing this

    127.0.0.1 localhost local.host
    

    with this

    127.0.0.1 local.host
    

    ..as the first one looks malformed to me (two aliases instead of one).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use node.js in my next project, but my boss does not
Suppose I want to change the orange node in the following tree. So, the
I want to have a tree in memory, where each node can have multiple
I have a node with many CCK fields. I want to hide a field
I have a binary tree where each node can have a value. I want
I have an application where I want to use node.js and now.js to share
Hi I have 2 classes in Java, Gossip and Node , I want that
Working on dom html . I want to convert node value to string: $html
I want to install node.js in my Windows 7 machine but having error. Errors
So, I want to use node.js and http request pipelining, but I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.