Twitterにはdjango-social-authを使用しています。最初にユーザーが Twitter でアプリケーションを承認する必要がありますが、2 回目のログインでは、Twitterはアプリケーションの再承認を求めることなく、ユーザーをリダイレクトする必要があります。
私にとっては、以前にアプリケーションを承認したことがある場合でも、常にアプリを承認するように求められます。通常どおりログオンできますが、本来の動作ではありません。なんで?
django-social-auth デモはこれを行いません。私は何が違うのですか?
この動作を得るためにここで何かを逃しましたか? 何かをクッキーとして保存するパイプでしょうか?
リンク
<a href="{% url 'socialauth_begin' "twitter" %}" class="btn_1">Login with Twitter</a>
パイプ
SOCIAL_AUTH_PIPELINE = (
'social_auth.backends.pipeline.social.social_auth_user',
#'social_auth.backends.pipeline.associate.associate_by_email',
'social_auth.backends.pipeline.user.get_username',
'social_auth.backends.pipeline.user.create_user',
'social_auth.backends.pipeline.userena.create_profile',
'social_auth.backends.pipeline.userena.create_account',
'social_auth.backends.pipeline.social.associate_user',
'social_auth.backends.pipeline.social.load_extra_data',
'social_auth.backends.pipeline.user.update_user_details'
)