learn hapi — JWT Authentication in Swagger API Documentation

In the previous tutorial, you implemented JWT authentication and required the related jwt strategy on API endpoints. This change affects your Swagger API documentation because users can’t simply run requests against the endpoints from within the Swagger UI anymore.

In this tutorial, you’ll configure Swagger to support API key authentication. This allows users to authenticate requests with their personal JWT in the Swagger UI.

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.