Skip to content

Open-Road-Alliance/JWT-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT Library

Simple library to create JSON Web Tokens (JWTs) that can be provided to secure routes so that only authenticated requests that contain a valid token can connect to the APIs.

*This was taken entirely from Amit Agarwal from here.

Setup

To add this library to your script file, do the following in the Apps Script code editor:

  1. Click on the menu item "Resources > Libraries..."
  2. In the "Add a Library" text box, enter the script ID 19Qtg9LvQn25h3tIrNJclER2s5TRmpX8QNNL9Ix0Z72o1Go3pl852_zEg and click the "Add" button.
  3. Choose a version in the dropdown box (usually best to pick the latest version).
  4. Click the "Save" button.

In the new editor:

  1. Click on the plus sign next to Libraries
  2. In the Script ID text box, enter the script ID 19Qtg9LvQn25h3tIrNJclER2s5TRmpX8QNNL9Ix0Z72o1Go3pl852_zEg and click the "Lookup" button.
  3. Choose a version in the dropdown box (usually best to pick the latest version).
  4. Specify an Identifier (this is the name that will be referenced throughout your script)

Additional Resources

About

Creates JSON Web Tokens (JWTs) via Google Apps Script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published