如何修复 social-auth-app-django 中的 "Facebook has detected MySite isn't using a secure connection to transfer information"?

How to fix "Facebook has detected MySite isn't using a secure connection to transfer information" in social-auth-app-django?

我不知道为什么会出现这个错误,我很乐意听到你的消息。

Facebook has detected MySite isn't using a secure connection to transfer information

那是因为您没有使用 https 连接发送安全数据。这意味着您的重定向 url 需要使用 ssl 加密,否则 facebook 将显示该消息。因此,您需要为您提供的 facebook return url 域获取证书。通过 http 发送敏感数据也是不好的做法,因为数据不会被加密并且容易被中间人等拦截。