google-auth-token-generator
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -11,3 +11,3 @@ 'use strict' | ||
const {client_secret, client_id, redirect_uris} = credentials.installed; | ||
const oAuth2Client = new google.auth.OAuth2(client_id, client_secret, redirect_uris[0]); | ||
const oAuth2Client = new google.auth.OAuth2(client_id, client_secret, 'urn:ietf:wg:oauth:2.0:oob'); | ||
@@ -14,0 +14,0 @@ const authUrl = oAuth2Client.generateAuthUrl({ |
@@ -26,3 +26,3 @@ 'use strict'; | ||
const {client_secret, client_id, redirect_uris} = credentials.installed; | ||
const oAuth2Client = new google.auth.OAuth2(client_id, client_secret, redirect_uris[0]); | ||
const oAuth2Client = new google.auth.OAuth2(client_id, client_secret, `urn:ietf:wg:oauth:2.0:oob`); | ||
oAuth2Client.setCredentials(token); | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "google-auth-token-generator", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -18,8 +18,14 @@ "main": "index.js", | ||
"author": "n0bisuke", | ||
"keywords": ["Google","Youtube","Google Drive","Gmail","Google Sheets"], | ||
"keywords": [ | ||
"Google", | ||
"Youtube", | ||
"Google Drive", | ||
"Gmail", | ||
"Google Sheets" | ||
], | ||
"license": "ISC", | ||
"dependencies": { | ||
"googleapis": "^73.0.0", | ||
"googleapis": "^100.0.0", | ||
"inquirer": "^7.3.3" | ||
} | ||
} |
11544
+ Addedgoogleapis@100.0.0(transitive)
- Removedgoogleapis@73.0.0(transitive)
Updatedgoogleapis@^100.0.0