Railsの初心者です。
omniauthを使って、Twitterログインの挙動を理解しようと思い、下記のリンクと全く同じくしてアプリケーションを作成しました。
https://qiita.com/keeya/items/c96a0393c76f5560ee41
リンク内容
しかし、
とのエラーができて連携がうまくいきません。
どうもcreateメソッドまで行っていないようです。
Started GET "/auth/twitter/callback" for 127.0.0.1 at 2018-06-12 19:00:49 +0900
I, [2018-06-12T19:00:49.773638 #84879] INFO -- omniauth: (twitter) Callback phase initiated.
E, [2018-06-12T19:00:49.773974 #84879] ERROR -- omniauth: (twitter) Authentication failure! session_expired: OmniAuth::NoSessionError, Session Expired
OmniAuth::NoSessionError (Session Expired):
調べても原因がわからなかったため、質問させていだだきます。
ご回答いただけると嬉しいです!!!
あなたの回答
tips
プレビュー