v2

latestOpenAPI 3.1.02026-07-26391214472.7 KB
auth

Debug Login

Passwordless login for E2E tests.

Gated by two explicit opt-in flags, both required:

  • DEBUG=True
  • ENABLE_DEBUG_LOGIN=True (separate flag, never default-on)

These flags must never be set in production. The double opt-in is the security gate; no additional IP restriction is applied so that tests running against a Docker-hosted backend also work.

post/api/v1/auth/debug-login

Request body

usernamestring required
passwordstring required
tenantstring nullable

Tenant slug or numeric ID

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring
expires_ininteger required
is_first_loginboolean
All 391 operations