'Can google openID be used in an intranet application?

Is it possible to use Google's OpenID API from an application that is being served in an intranet (accessed with a VPN but has access to the internet)?

I assume this isn't possible since Google doesn't have access to the application's origin, but I asked to make sure. (Using an external Identity Server would probably efficiently fix the issue but unfortunately, that's not a possibility)

When I tried to authorize the origin (https://console.cloud.google.com/apis/credentials/oauthclient/), I got the following error message:

Invalid Origin: must end with a public top-level domain (such as .com or .org).

Are there any possible workarounds or is this a dead cause?

Other Info: The application is using asp.net core (MVC).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source