On upgrading python-social-auth from 0.1.17 to 0.2.4, session attribute is not provided in request, to custom pipeline method?

前端 未结 2 1644
没有蜡笔的小新
没有蜡笔的小新 2021-01-28 11:14

My social-auth pipeline is as follows:

SOCIAL_AUTH_PIPELINE = (
\'social.pipeline.social_auth.social_details\',
\'social.pipeline.social_auth.social_uid\',
\'soc         


        
2条回答
  •  天涯浪人
    2021-01-28 11:51

    https://github.com/omab/python-social-auth/issues/978

    Try to use

    strategy.request
    

    to access django request.

提交回复
热议问题