ugulay / dummy-jwt-auth

Express.js JWT service for dummy auth action and control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dummy backend for JWT Auth

Static 2 Accounts inside the "data.js" file /user/profile endpoint need Bearer auth.

JWT token valid last 10 minutes

Method URL Json Body Auth
GET /ping
POST /user/login {username:'username',password:'password'}
GET /user/profile Header: Bearer JWT

About

Express.js JWT service for dummy auth action and control


Languages

Language:JavaScript 100.0%