Sep 14, 2018

Add OAuth2 library to Google App Script project

Adding the OAuth2 library

 OAuth2 library is already published as an Apps Script, making it easy to include in your project. To add it to your script, do the following in the Apps Script code editor:
  1. Click on the menu item "Resources > Libraries..."
  2. In the "Find a Library" text box, enter the project key MswhXl8fVhTFUH_Q3UOJbXvxhMjh3Sh48 and click the "Select" button.
  3. Choose a version in the dropdown box (usually best to pick the latest version).
  4. Click the "Save" button.