learn hapi — Encrypted and Signed JWT (Nested JWT)

Implementing signatures and encryption for JSON web tokens can be complex due to the cryptographic handling. Up to this point in this tutorial series, you implemented both features on top of existing libraries. A downside of the previous tutorials: when introducing encrypted tokens, you removed the signature of a JWT.

This tutorial brings back signed tokens as the payload of an encrypted JWT. You’ll apply both security measures to your JWT: a signature and encryption.

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.