On Monday, December 23, 2013 11:05:26 PM UTC-8, Nobin Mathew wrote:
Hi,
I am writing a django website using django-allauth for facebook authentication.
When I sign into facebook(after giving username and passwd) from my local development server( `<`http://127.0.0.1:8001/gallery/` >` ) I get following error:
When developing against Facebook, I find it easiest to create a localhost DNS entry emulating the domain registered in the FB app itself. So, if you're on Mac:
sudo vi /etc/hosts
and enter:
127.0.0.1 somedomain.com
And then:
./manage.py runserver somedomain.com:8080
Then just pull up somedomain.com:8080 in your browser and you'll be running a local dev site that FB sees as the production site, so your apps will work.
No such hassle with Twitter or Google.
./s
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a83bd998-f2db-40ae-a088-9bcfc4e6c7a6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment