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 5 years have passed since last update.

【Django】OAuth認証でのログイン時、毎回許可画面が呼ばれる

0
Posted at

はじめに

social-auth-app-djangoを使ってTwitter連携アプリを作成しているのだが、OAuth認証済みなのに、{% url 'social:begin' 'twitter' %}でTwitterログイン時、毎回以下のような連携許可画面が呼ばれてしまう。
スクリーンショット 2020-01-18 20.12.27.png

解決方法

Twitter Developerページで対象アプリの「Allow this application to be used to sign in with Twitter」にチェックを付ける。
図1.png

おわりに

social-auth-app-djangoだとこれで解決したが、解決できなければ以下を試してみると良さそう。
Twitterのauth認証で毎回連携許可画面が出る場合の対処法

公式ドキュメントはこちら

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?