Skip to content
rw3iss Auth

LoginRequest

LoginRequest

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

POST /auth/login request body.

Properties

app_code?

optional app_code?: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

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: @rw3iss/auth-shared/src/dto/auth.ts


organization_id?

optional organization_id?: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts


password

password: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts


remember_me?

optional remember_me?: boolean

Defined in: @rw3iss/auth-shared/src/dto/auth.ts


two_factor_code?

optional two_factor_code?: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

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.