Closed Dragon1320 closed 4 years ago
Currently we have to duplicate a bunch of code every time we want to protect a route with a token, make this a fastify plugin instead, this will also contribute towards eventually having proper auth/tokens.
Currently we have to duplicate a bunch of code every time we want to protect a route with a token, make this a fastify plugin instead, this will also contribute towards eventually having proper auth/tokens.