Though many of the concepts in this course are still relevant, overall this course does not reflect our current course standards.

Check out a free preview of the full Secure Authentication for Web Apps & APIs Using JWTs course:
The "Exploring JWT Middleware" Lesson is part of the full, Secure Authentication for Web Apps & APIs Using JWTs course featured in this preview video. Here's what you'd learn in this lesson:

In the server application for the API, Ryan is using the hapi JavaScript middleware. This middleware allows for a JWT strategy to be configured and used globally throughout all routes in the API. The hapi middleware also allows scopes to be defined which not only require the presence of a JWT, but also a specific access level.

Get Unlimited Access Now