On the website https://code.google.com/apis/console I have registered my application, set up generated Client ID: and Client Secret to my a
When you register your app at https://code.google.com/apis/console and make a Client ID, you get a chance to specify one or more redirect URIs. The value of the redirect_uri parameter on your auth URI has to match one of them exactly.
redirect_uri