Skip to content
rw3iss Auth

LoginRequest

LoginRequest

Defined in: dto/auth.ts:61

POST /auth/login request body.

Properties

app_code?

optional app_code?: string

Defined in: dto/auth.ts:68

Scopes the issued token to a registered consuming app (AUDIT 8.3). Required by default; falls back to AUTH_DEFAULT_APP_CODE or AUTH_ALLOW_BASE_USER_LOGIN per server config.


email

email: string

Defined in: dto/auth.ts:62


organization_id?

optional organization_id?: string

Defined in: dto/auth.ts:64


password

password: string

Defined in: dto/auth.ts:63


remember_me?

optional remember_me?: boolean

Defined in: dto/auth.ts:69


two_factor_code?

optional two_factor_code?: string

Defined in: dto/auth.ts:73

6-digit TOTP for accounts with 2FA active (AUDIT C4). Omit on the first attempt; the server responds 401 with {requires_2fa: true} and the client retries with this set.