Skip to content

ugulay/dummy-jwt-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published