问题
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