Simple JWT Authentication Server
Create .env file with your configuration keys to "configuration/.env" like .env.example
httpPort=<Port Number>
jwtSecret='your jwt secret password'
npm install
# production mode
npm start
# development mode
npm run dev
-
Server Welcome Message
GET
/
-
Get Signed JWT Token For Mock User
POST
/login
-
Verify JWT Token And Return Payload Data
POST
/verify
Headers : Authorization: <access_token>
1.0.0
This project is licensed under the MIT License