Skip to content

Log in with username and password

POST
/auth/login

Validates credentials and sets the session cookie. Subject to per-IP rate limiting and per-user/per-IP lockout.

object
username
required
string
password
required
string

Login succeeded; session cookie set.

object
username
string
role
string
Set-Cookie
string

HttpOnly session cookie.

Invalid request.

string

Missing or invalid credentials.

string

Rate limited or locked out.

string