Articles tagged in: Web



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 …

Continue Reading

learn hapi — JWT Authentication and Private API Endpoints

The previous tutorial laid the foundation for API authentication with username and password. You created a dedicated API authentication plugin which registers login route to authenticate with username and password to the hapi API server. A successful login generated an API authentication token which should be used for API requests. …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.