Python社交身份验证重定向到错误的URL

时间:2015-09-08 14:35:19

标签: python django redirect python-social-auth

我在我的django网站上使用python-social-auth,让我们说:example.io。它工作正常。但是,在重新部署并尝试通过Twitter登录后,它会重定向到错误的网址,example,而不是.io

我还尝试使用其他网址staging.example.io,它仍会重定向到example,而不会stagingio

我尝试在本地部署它,因此URL为localhost:12345,并且它重定向到正确的URL(到localhost:12345或127.0.0.1:12345),并成功登录。

有人知道吗?

更新: 我曾尝试使用其他网址,例如abc.def.com,但是stil重定向到example(没有.io)。这也发生在LinkedIn社会认证中。

0 个答案:

没有答案