Add Token Authentication to Our Fastify App with fastify-jwt
Published in
3 min readJan 9, 2021
With the fastify-jwt library, we can add basic authentication to our Fastify app quickly.
In this article, we’ll look at how to use the library to add authentication to our Fastify app.
Installation
We can install the package by running:
npm i fastify-jwt