LoginSignup
3
0

More than 5 years have passed since last update.

ローカルからの認証でOAuth::Unauthorized 401 Unauthorized

Posted at

まず確認したのは以下。
https://qiita.com/hirokishirai/items/5a43977a38ecd922bfb9

解決法

単純にアクセスするURLが間違っていました。
アプリの設定画面は ⇒ http://127.0.0.1:3000
ローカルでアクセスしたURL ⇒ http://localhost:3000

これを、http://127.0.0.1:3000 でアクセスすれば問題なく認証できました。

最後に

これで、2日ハマった、、

3
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
3
0