Socket
Socket
Sign inDemoInstall

google-auth-token-generator

Package Overview
Dependencies
84
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.2.0

2

bin/authorize.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc