My web application needs access to users Google data. I decided to use OAuth2. Problem is that Google does not accept my redirect_uri. It is the local IP address of my server on the intranet.
In the past I have used OpenID, which accepted the local redirect_uri. How to overcome this problem with OAuth2?
The only solution I found so far, is to use redirect_uri=urn:ietf:wg:oauth:2.0:oob
but this requires the user to copy an paste the access token. Is there a better solution?