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

Twitter client fails silently if consumer key is missing #170

Open
ferrix opened this issue Jan 5, 2013 · 1 comment
Open

Twitter client fails silently if consumer key is missing #170

ferrix opened this issue Jan 5, 2013 · 1 comment

Comments

@ferrix
Copy link

ferrix commented Jan 5, 2013

This is just one example of poor error reporting and may apply to other clients as well.

I had a typo in my Django settings and effectively had no TWITTER_CONSUMER_KEY set. This resulted in a 401 error from Twitter. It would make sense to report that the key is missing before hammering the auth provider's service since there is no other expected outcome when trying to authenticate with OAuth without providing credentials.

This is an easy fix and I may be back with a pull request but if somebody has the time before I do it, respect.

@flashingpumpkin
Copy link
Owner

+1

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

2 participants