From 1f3d75f7892f08fd99011271bc21f8d00f63432a Mon Sep 17 00:00:00 2001 From: offirmo Date: Tue, 6 Sep 2016 18:01:55 +0200 Subject: [PATCH] Update instructions I had a hard time finding the correct procedure. --- get_oauth2_permissions.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/get_oauth2_permissions.js b/get_oauth2_permissions.js index c4c8e9f..732537b 100644 --- a/get_oauth2_permissions.js +++ b/get_oauth2_permissions.js @@ -25,9 +25,10 @@ var OAuth2Client = new googleAuth().OAuth2; // Client ID and client secret are available at // https://code.google.com/apis/console // 1. Create or pick a project -// 2. Choose "API & Auth" and then "Credentials" -// 3. Click "Create new Client ID" -// 4. Select "Installed application" and "Other" +// 2. In the top left hamburger menu, choose "API Manager" +// 2b. In the left menu, choose "Credentials" +// 3. Click "Create credentials" -> "OAuth Client ID" +// 4. Select "Application type": "Other" and give a name, ex. "GDocsAccessFromNode01" // 5. Copy your ClientID and Client Secret into the fields beneath var CLIENT_ID = '';