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 1615
没有蜡笔的小新
没有蜡笔的小新 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:35

    This may be because user_details function doesn't pass anything to next function in pipeline. As per your requirement you might need to change the order of functions in your pipeline:

    Check this: https://github.com/omab/python-social-auth/blob/master/social/pipeline/user.py#L75

提交回复
热议问题