Secure JWT Authentication with RSA Key Pairs in Node.js πŸ”

Learn how to generate and verify JSON Web Tokens (JWT) using RSA public/private key pairs in this practical Node.js demo. Enhance your app's security with this step-by-step guide!

Secure JWT Authentication with RSA Key Pairs in Node.js πŸ”
Stuart Williams
53.1K views β€’ Sep 9, 2017
Secure JWT Authentication with RSA Key Pairs in Node.js πŸ”

About this video

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

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

53.1K

Likes

442

Duration

8:15

Published

Sep 9, 2017

User Reviews

4.3
(10)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.