0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

deviseのTwitter認証での「Unauthorized 403 Forbidden」の対処法

Posted at

ローカルでのRailsの開発中に下記のエラーが出ました。

image.png

原因はTwitter DeveloperのcallbacksにローカルのURLを登録していないことが原因でした。

該当アプリケーションのコールバックの設定で下記の様にローカルのURLを設定して下さい。また、本番環境でこの現象が起きたら本番のURLを設定して下さい。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?