First, you'll need to get a Google Client ID. Follow these steps:
-
Visit https://code.google.com/apis/console/
-
If necessary, "Create Project"
-
Open the "API Access" tab on the left
-
Create another Client ID
-
Choose "Web application" as the type
-
Click "More options…" after "Your site or hostname"
-
Set Authorized Redirect URIs to: {{siteUrl}}_oauth/google?close
-
Set Authorized JavaScript Origins to: {{siteUrl}}
-
Create client ID