cloud9です。railsでtwitter認証機能の実装をしたいのですが、auth/twitterのリンクに飛ぶと、ローカルでは「OAuth::Unauthorized 400 Bad Request」とエラーになり、herokuでは、「アプリケーションに戻ります。しばらくお待ちください。」という画面に一瞬なり、その後、「We're sorry, but something went wrong.If you are the application owner check the logs for more information.」という画面になり認証できません。
ログイン機能部分はrails tutorialのコードなので、 https://qiita.com/julia817/items/7908c01984a291b74966 を参考にして、まったく同じコードにしています。
あなたの回答
tips
プレビュー