Skip to main content

User Login

Authenticate user credentials and return access token.

Security Features:

  • Rate limiting (5 attempts per IP, then after increasing delay 60s, 180s, 10min, 30min, 1h, 3h)
  • Password validation
  • Account lockout after failed attempts
Request Body required
  • username string required

    Possible values: [admin, manager]

    The user name for login

  • password string required

    MD5 hash of the complex password for login (e. g. MySecure123!=300a31fbdc6f3ff4fb27625c2ed49fdc)

Responses

Login successful


Schema
  • token string

    Login token

  • account_type string

    Possible values: [manager, admin]

    Login account type

Loading...