Skip to content

hookdeck/transformation-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verifying JWT token in Hookdeck Transformation

slack-badge

The Hookdeck transformation runtime does not expose the node.js standard library. One way to get around that limitation is to find a polyfill, a ponyfill or a library that implements the desired functionality and bundle it with webpack, then upload the resulting bundle to the transformation editor.

This repo shows how to do that with JWT via jsrsasign library.

How to get it working

  1. Clone the repo
  2. Run npm install
  3. Run npm run build
  4. Modify the handler to do what you need it to
  5. Copy/paste the contents of the bundle in dist/main.js to your transformation
  6. Run the transformation to test that it works

video here!

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published