django allauth facebook local development

亡梦爱人 提交于 2019-12-04 11:36:09

It worked for me setting the url in Facebook as localhost instead of 127.0.0.1. Also pass localhost:8000 to ./manage.py runserver

I had the same problem an hour ago. I've fixed it by setting the Site URL and Valid OAuth redirect URIs to http://fuf.me:8080. fuf.me point to 127.0.0.1, so your localhost, and also I've changed the default 8000 port to 8080. You can do this by running python manage.py runserver localhost:8080

Also I've enabled Browser OAuthLogin and WebOauthLogin.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!