You might want to use ngrok, which is already part of Laravel Homestead. Ngrok will generate a public url for your site.
That's how I implemented Google's oauth2 API, or any other oauth2 services.
I need to develop with Google's oauth2 api which requires a top level domain, but it also allows localhost. The app I'm working on is currently setup in homestead with a .test domain but for this I am going to need it to be served as http://localhost instead. Any ideas how I can do that? I've tried specifying it in my yaml file (map: localhost) but it didn't work
Please or to participate in this conversation.