Further readingįor further information on the APIs used in this quickstart, refer to the Load client secrets from a local file.įs.readFile('credentials.json', (err, content) => (unsafe). created automatically when the authorization flow completes for the first The file token.json stores the user's access and refresh tokens, and is If modifying these scopes, delete token.json.