web applications - Google BigQuery, redirect uris to the UNC path -
I am creating a web application which uses Google BigQuery, which can gain access and refresh the token
My web application will be hosted in intranet, say it under http: // mywebapp /
to access it Client ID is required, so I went to console.developers.google.com and tried to create "Client ID for web application". I have to enter two things in there javascript orinjin
and redirect uris
and here is my problem:
Google accept http: // Refuses to do Mywebapp / oauth2callback
as Redirect Yuri, but acceptes as http: // mywebapp /
javascript.
Error:
Invalid Redirect URI.
Google accepts " http://mywebapp.com
" and " http: // localhost
", but this is my Does not help.
Is it from a bug or design?
This issue can be found here by original
and redirection
There is a difference between
Basically this is where the relationship comes from. This can be your own local network, localhost or intranet, as long as the real initial address matches anyone registered in your configuration, everything will be fine.
On the other hand, where the redirect is once authorized, the Google Authorization server will return the request. It is not possible to provide an internal address in this case because Google is not able to redirect to those addresses because they are private.
Comments
Post a Comment