This is a very simple example of signing and verifying JSON Web Tokens using Restify. If you’d like more information on either subject, check out the following links:

https://jwt.io/introduction/

Getting Started

First, we’ll need to install a few dependencies

$ npm i --save restify restify-jwt-community jsonwebtoken

Sean Wragg

Writing about code, comics, and fhqwhgads!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store