Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

OAuth::Unauthorized #12

Open
ondrae opened this issue Jan 23, 2014 · 1 comment
Open

OAuth::Unauthorized #12

ondrae opened this issue Jan 23, 2014 · 1 comment

Comments

@ondrae
Copy link

ondrae commented Jan 23, 2014

Hi, I don't know rails at all so that may be my problem.

I followed the Installation and Usage directions on the Readme. I created a new Twitter app and entered the consumer keys.

I get an unauthorized error when I try to log in.

Here is the dump.
https://gist.github.com/ondrae/8588754

@monfresh
Copy link
Member

The instructions are missing a key step: you need to set a callback URL for your Twitter app. It doesn't matter what it is, as long as one is set. This is explained in the README for the omniauth-twitter gem.

Go to your app's setting tab:

Twitter app setting

Add a callback URL:

callback URL for Twittter app

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants