The task I am working now is to set up google authorization to access resources of my organization.
But there is a problem with this task. My organization uses non standard domain for its local network: domain.off. And when I try to set 'http://dev.domain.off:12345/auth/google/callback.html' as a oauth2 callback in the Google Cloud Console (https://cloud.google.com/console) I get 'Invalid redirect URI' error.
I cannot use direct address with correct internet domain because there are many other services in private development domain of my organization I have to use that conflict with different addresses.
I cannot use production enviroment with direct address for the development purposes. Development enviroment has only private addresses, domain.off.
I cannot modify hole development enviroment to change all private dev addresses to public. This is a task of not my compenency.
Is there any solution to my problem? The only solution I see now is to ask google developers to remove or modify URI validator in oauth callback setting form to accept non standard domains.