Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one do development on with facebook's oauth when there is a domain name restriction?

Tags:

facebook

Facebook does not allow callbacks on ip addresses. So how does one test their facebook authentication oauth sign up flow on their own computer as opposed to the production domain?

like image 374
disappearedng Avatar asked Apr 01 '12 02:04

disappearedng


1 Answers

Point yourdomain.com to your test server (127.0.0.1, if I got that right) by editing your /etc/hosts file.

And yes, by /etc/hosts I also meant C:\Windows\System32\drivers\etc\hosts, obviously.

like image 62
ZJR Avatar answered Sep 30 '22 01:09

ZJR