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

限于喜欢 提交于 2019-12-02 11:05:13

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

Try to use

strategy.request

to access django request.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!