400客户端错误:在Django中使用python-social-auth进行Facebook认证的错误请求 [英] 400 Client Error: Bad Request using python-social-auth for Facebook auth in Django

查看:187
本文介绍了400客户端错误:在Django中使用python-social-auth进行Facebook认证的错误请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我在一个项目中发生了一些奇怪的错误。有一天(没有任何改变,我知道的),它的工作完全正常,用于django的python-social-auth的Facebook身份验证停止工作。给出的错误是400客户端错误:错误请求,似乎发生在/ complete / facebook回调。



我已经尝试切换到旧的代码,创建一个新的Facebook应用程序从头开始,并切换现有的设置,全部无效。



有没有人有任何想法如何解决这个问题?



提前谢谢

解决方案

这个错误被描述为python-social-auth上的问题#190 Github页面。请参阅此线程以获取可能的解决方法。


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.

解决方案

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

这篇关于400客户端错误:在Django中使用python-social-auth进行Facebook认证的错误请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆