Skip to content

API: authentication

Authentication for the user is done via login request where username and password are provided in "Authorization" header with basic schema. The request will return JWT token that has to be included in all the following requests with Bearer authentication

Login

Login request that returns JWT token

Request

POST /api/v1/auth/login HTTP/1.1
Authorization: Basic {Base64 of username + ":" + password}