When you try to setup Socialite for Laravel, using Homestead (here on Ubuntu), the "redirect url" needed for Google Sign-In are always marked as 'bad' :
Error: invalid_request
Invalid parameter value for redirect_uri: Non-public domains not allowed: https://homestead.test/google/callback
And trying to add http://homestead.test/google/callback
or http://192.168.10.10/google/callback
end up either as a :
"Non top level domain supported"
or just with
"Non valid URI"
Is it hopeless due to Google restrictions or is there any way to do so ?