Authentication
Authenticate with username and password
Logs in a user with username and password and returns authentication tokens
post/auth/login
Request body
Example request
{
"password": "password123",
"username": "admin"
}Response
Authentication tokens
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2025-04-25T12:00:00Z",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}