Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 658 Bytes

File metadata and controls

41 lines (32 loc) · 658 Bytes

Docker image requries mysql database

runs on port 8003

enviourment variables example

  DB_URL: authservice-mysql:3306/authservice-mysql
  DB_USER: developer
  DB_PASS: password

API Reference

Create accunt

  POST /api/auth

Login

  POST /api/auth/login

Delete account

  DELETE /api/auth/login

All of them requires json of a user example

    {
        "username":"admin"
        "password":"pass123"
    }

Get information from token

  POST /api/auth/validate/UUID
  POST /api/auth/validate/user

Both requires plaintext of a valid token