I have a domain name and hosting, but when I need to try Oauth Authentication, I do this:
Modify the hosts file to map a random domain to a local ip.
For example, on Windows, I modify the file 'C: \ WINDOWS \ system32 \ drivers \ etc \ hosts' by adding the following line:
127.0.0.1 www.yourdomain.com
BTW, this domain does not need to be registered
source share