learn hapi — Bringing Back JWT Claims in the JWT Payload

The recent tutorials in this series on JSON web tokens introduced a handful of code changes. For example, you switched the packages creating JWTs from jsonwebtoken to node-jose to support encrypted and nested tokens.

A downside of this switch: the JWT-related claims were added jsonwebtoken automatically when creating a new JWT and removing the library removed the claims.

In this tutorial, you’ll bring back JWT claims to your token payload.

hapi Series Overview


Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.