fxa-jwtool
A module for creating and verifying JWTs used by Firefox Accounts.
Example
var JWTool = var secretKey = JWToolJWK var encodedJWT = secretKey var trustedJKUs = 'https://api.accounts.firefox.com/.well-known/public-keys' var jwtool = trustedJKUs var message = jwtool console // { sub: "hello world" }