Verify directory credentials and eligible current application membership.
Applies to v0.9.0. Follow the workflow guide and the API overview. Use the configured customer server origin, not the proposed documentation hostname.
POST /api/v1/auth/ad-login
Protocol/initial-setup state and browser binding apply. This route is not a general authorization bypass.
Declared parameters
| Name | Location | Required | Schema |
|---|---|---|---|
| X-AccessScope-Request | header | True | {"type": "string", "const": "1"} |
Request body: application/json
Contract: Login.
| Property | Required | Declared constraints |
|---|---|---|
| username | True | {"type": "string", "maxLength": 100, "minLength": 1, "title": "Username"} |
| password | True | {"type": "string", "maxLength": 256, "minLength": 1, "title": "Password"} |
| mfa_code | False | {"anyOf": [{"type": "string", "maxLength": 150}, {"type": "null"}], "title": "Mfa Code"} |
| directory_id | False | {"anyOf": [{"type": "string", "maxLength": 100}, {"type": "null"}], "title": "Directory Id"} |
Declared responses
| HTTP status | Meaning/contract |
|---|---|
| 200 | Successful Response Success |
| 400 | Bad Request ErrorResponse |
| 401 | Unauthorized ErrorResponse |
| 403 | Forbidden ErrorResponse |
| 409 | Conflict ErrorResponse |
| 422 | Validation Error HTTPValidationError |
Read error.code, message and correlation_id on failure. Check errors and limits. Never convert a rejected request into an empty permission result.
Side effects and evidence
Verify directory credentials and eligible current application membership. Responses and availability depend on current policy/state. POST alone does not mean an infrastructure mutation: read queries, test operations, proposals and local administration remain distinct from the exact change-execution endpoint.
Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

