dustinrouillard / fastify-security

Security based functions and utilities for my Fastify boilerplate

Home Page:https://dustin.rest/source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dustin's Security Module

Default environment

All JWT's will be checked/signed with secret and have the default issuer of dustin.sh/api unless you pass different values when using the middleware or if you change the following variables

JWT_ISSUER=new_issuer
INTERNAL_SECRET=new_secret

dotenv is not included, and this will only use system variables. If you want to use your .env import dotenv in your own codebase before importing this module.

About

Security based functions and utilities for my Fastify boilerplate

https://dustin.rest/source

License:MIT License


Languages

Language:TypeScript 100.0%