learn hapi — JWT Refresh Token for Multiple Devices

This tutorial extends the previous tutorial on refresh tokens with JWT Authentication for logins on multiple devices.

The implementation from the previous tutorial works well for a single login because you allow a single refresh token. As soon as your users log in from different devices, the last login has the valid refresh token.

The goal of this tutorial is updating the existing implementation to support refresh token handling for JWT authentication on multiple devices. Each login will have their own refresh token for a convenient app usage.

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.