When you register your application just use http://localhost as your redirect URI, I can assure that it works as I'm doing that for my stuff.