{"id":21455529,"url":"https://github.com/hookdeck/transformation-jwt","last_synced_at":"2025-10-30T22:13:38.027Z","repository":{"id":190704846,"uuid":"683170659","full_name":"hookdeck/transformation-jwt","owner":"hookdeck","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-10T12:32:41.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T13:13:48.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hookdeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-25T19:04:55.000Z","updated_at":"2024-04-19T13:09:22.000Z","dependencies_parsed_at":"2025-01-23T13:12:42.171Z","dependency_job_id":"b695891c-aefa-4d4a-a826-021927eb92ef","html_url":"https://github.com/hookdeck/transformation-jwt","commit_stats":null,"previous_names":["hookdeck/transformation-jwt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hookdeck","download_url":"https://codeload.github.com/hookdeck/transformation-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243966064,"owners_count":20375992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T05:12:32.410Z","updated_at":"2025-10-30T22:13:32.978Z","avatar_url":"https://github.com/hookdeck.png","language":"JavaScript","readme":"# Verifying JWT token in Hookdeck Transformation\n\n[slack-badge]: https://img.shields.io/badge/Slack-Hookdeck%20Developers-blue?logo=slack\n\n[![slack-badge]](https://join.slack.com/t/hookdeckdevelopers/shared_invite/zt-yw7hlyzp-EQuO3QvdiBlH9Tz2KZg5MQ)\n\nThe 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.\n\nThis repo shows how to do that with JWT via `jsrsasign` library.\n\n# How to get it working\n\n1. Clone the repo\n2. Run `npm install`\n3. Run `npm run build`\n4. Modify the handler to do what you need it to\n5. Copy/paste the contents of the bundle in `dist/main.js` to your transformation\n6. Run the transformation to test that it works\n\n[video](https://www.loom.com/share/86c7e6beea5844c9af52624cd9226a88) here!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhookdeck%2Ftransformation-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhookdeck%2Ftransformation-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhookdeck%2Ftransformation-jwt/lists"}