简体   繁体   English

Django社会注册-Twitter回拨至example.com

[英]Django Social Registration - Twitter Callback going to example.com

I have been working through installing django social registration on my webfaction account. 我一直在通过在我的webfaction帐户上安装django社交注册进行工作。 So far I have the facebook login working. 到目前为止,我已经可以使用Facebook登录了。 When I attempt to log in to to twitter I get the correct login page but after choosing "Allow" I am forwarded to the following URL: 当我尝试登录到Twitter时,我得到正确的登录页面,但是在选择“允许”后,我将转发到以下URL:

http://example.com/social/twitter/callback/ .... where "example.com" is the actual URL it is forwarding to. http://example.com/social/twitter/callback/ ....其中“ example.com”是转发到的实际URL。

I have setup the twitter app and have entered a valid oauth callback URL. 我已经设置了Twitter应用程序,并输入了有效的oauth回调URL。

I have searched the code on my developer machine for references to "example.com" but have not found any. 我已经在开发人员机器上的代码中搜索了对“ example.com”的引用,但没有找到任何引用。

Any help nailing this down will be greatly appreciated. 任何帮助确定这一点将不胜感激。

You are being redirected to the the site defined via your Site app! 您将被重定向到通过您的Site应用程序定义的Site You should be able to change the domain of your current site in the admin interface! 您应该可以在管理界面中更改当前站点的域!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM