learn hapi — Rate Limit Your Refresh Token API Endpoint

Security must be a major concern in every application. You should assign rigid security rules for your authentication-related API endpoints.

The mini-series “building a rate limiter” here on Future Studio goes through the implementation of a rate limiter. If you didn’t code along in the series, you can grab the package from NPM and add it to your project. Find our hapi-rate-limitor on GitHub and NPM.

In this tutorial, you’ll rate limit the refresh token route to protect the endpoint from brute-force attacks.

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.