0

I am using omniauth for twitter authentication and any time i try localhost:3000/auth/twittet i get the following error

OAuth::Unauthorized 
401 Unauthorized

pls any ideas to this issue cos i cant get it right. I have omniauth in my gem file and followed a screencast by ryab bates and just the first step and i have this issue.

Uchenna
  • 4,059
  • 6
  • 40
  • 73

1 Answers1

0

You can fix this by specifying a proper callback URL and set your application type to browser. Try http://localhost:3000/auth/twitter

Also, ensure you're using the correct consumer_key and consumer_secret

Simpleton
  • 6,285
  • 11
  • 53
  • 87