Here was the solution. It is basically what LeonidS wrote:
Client ID for Web application page at Google API’s
Be sure to put the
Authorized redirect URIs for use with requests from a web server
What is the authorized redirect URL?
Find it in UNA studio here:
in bold font