Closed midhunadarvin closed 7 months ago
POST /auth/login
Request
Body (application/json)
Example
{
"username": "admin",
"password": "admin"
}
Response
Body (application/json)
Example
{
"token": "eyJhbGciOi..."
}
POST /auth/logout
Request
Headers
Example
Authorization: Bearer eyJhb
Response
Body (application/json)
Example
{
"message": "Logged out"
}
Is your feature request related to a problem? Please describe. Add authentication support for the chista-asabru proxy.
Describe the solution you'd like The user should be able provide a set of credentials to get an authentication token, which can be used for administrative purposes in the proxy.
Describe alternatives you've considered N/A
Additional context N/A