400 Client Error: Bad Request using python-social-auth for Facebook auth in Django

*爱你&永不变心* 提交于 2019-12-06 11:33:38

问题


Lately some strange errors have happened in a project I'm working on. It was working perfectly fine when one day (without any changes on our side that I know of) Facebook authentication with python-social-auth for django stopped working. The error given was "400 Client Error: Bad Request" and seemingly occurred in the /complete/facebook callback.

I have tried switching to older code, creating a new Facebook app from scratch and switching the settings of the existing one, all to no avail.

Does anybody have any idea on how to fix this? Help would be greatly appreaciated.

Thanks in advance.


回答1:


This bug was described as Issue #190 on the python-social-auth Github page. Please see this thread for possible workarounds.



来源:https://stackoverflow.com/questions/23044847/400-client-error-bad-request-using-python-social-auth-for-facebook-auth-in-djan

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