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
Don't forget to include the path after your domain and ip. In my case, I forgot:
/oauth2callback