So here is what is happening, super strange.
On the developers console for google under:
API & Auth-> Credentials
(links are going to look weird because I dont have enough reputation for more)
For some reason I enter http://orange and it works even though its not a top level domain or a ends in .com . It would be nice to enter a public IP but I know that has been answered elsewhere and is not possible.
But does anybody know why htp://orange or htp://apple or htp://google and many more work but not htp://orangehrm which is specifically what I want to have.
Even after saving htp://orange as a redirect uri and using that in the code I have as the redirect uri (I am doing Oauth2.0 with php-api-client) it redirects me to htp://orange which is nothing. If I could just get it to got to htp://orangehrm it would be great, just three letters more!
I am hosting a local website on my network and I guess I could just change the site to htp://orange and it would work !? but I am super curious why certain words are free from the rule on the developers console.
Any ideas?