This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gEvent = require('vorpal')(); | |
const {google} = require('googleapis'); | |
const opn = require('opn'); | |
const CLIENT_ID = 'GOOGLE_CLIENT_ID'; | |
const CLIENT_SECRET = 'GOOGLE_CLIENT_SECRET'; | |
const REDIRECT_URL = 'urn:ietf:wg:oauth:2.0:oob'; | |
const oauth2Client = new google.auth.OAuth2( | |
CLIENT_ID, |
NewerOlder