@solusikonsep/openauth
v1.0.1
Published
- ADMIN ```txt username: admin password: 123456 ```
Downloads
6
Readme
IDENTITY SERVER LIGHTWEIGHT
- ADMIN
username: admin
password: 123456
- STAFF
username: staff
password: 123456
SERVER RUNNNING
LOGIN
POST http://localhost:8000/api/login
PAYLOAD :
{ "username": "ardiwijaya", "password": "123456" }
RESPONSE :
{ "message": "Login berhasil", "access_token": "<Token>" }
CREATE USER
- POST http://localhost:8000/api/users
- PAYLOD :
{ "username": "ardiwijaya", "password": "123456", "role": "admin", }