learn hapi — Authenticate Encrypted JWTs (JWE)

Most of the JWT tutorials in the Internet show you how to work with signed tokens. In the previous tutorial, you changed your code to create encrypted JWTs.

This switch from signed to encrypted JWTs requires changes to your user authentication as well. This is what you’ll implement in this tutorial: authenticate encrypted JWTs using your own hapi authentication scheme and strategy.

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.