A little NodeJS demo of making and verifing JavaScript Web Tokens (JWT) using RSA Public/Private Key Pairs
Table of Contents:
00:00 - Introduction
00:44 - 1. Get a RSA public/private PEM pair
01:41 - NPM Package for JWT
02:05 - Why this demo?
02:21 - Node - Read Keys off Disk
02:51 - Node - Specify the right algorithm
04:34 - Node - suggested option elements
04:41 - Issuer
04:48 - Subject
04:54 - Audiance
05:04 - Expires
05:40 - Signing Options
05:54 - Sign your payload with options
06:11 - Verify Options
06:37 - Node - Verify Token
06:53 - Node - Decode
07:02 - Demo
08:04 - Marker 22