edgeworkers-examples icon indicating copy to clipboard operation
edgeworkers-examples copied to clipboard

Add jwt-validation example

Open simonhearne opened this issue 3 years ago • 0 comments

Overview

A simple JSON Web Token decoder and validator, using HS256. A responseProvider is included to demonstrate the headers passed to origin.

Features

A JWT class to decode and validate encoded JWT strings. Custom CryptoJS lib for HMAC SHA256 signature generation.

simonhearne avatar Mar 24 '21 14:03 simonhearne