Articles tagged in: Npm



learn hapi — JWT Claims 101

You’re automatically using claims when using JWTs in your application. JWT Claims are an important piece in the JSON web token specification. Claims represent the data you’re storing inside the JWT. A JWT claim set is the JWT payload consisting of more than one key-value-pair. Imagine a JWT …

Continue Reading

learn hapi — JWT Logout (Part 1/2)

Authenticating users in web applications or APIs has different approaches. Invalidating a user’s server-side session or an authentication-related cookie is in your full control. With JSON web tokens (JWTs), you need to extend your platform with a custom logout handling ensuring to invalidate an active JWT. Because there’s …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.