Local password login; mints a CLI or browser session artifact.
Changed onThe local floor (human-auth ADR § Lockout and the local floor), which an installation may never remove. Verifies an Argon2id password verifier inside the instance-wide admission budget; an unknown account traverses a bounded dummy-verifier path so timing is comparable and no pre-authentication path distinguishes an existing account from a missing one.
Mints the artifact the request asks for. Both are distinct types with their own storage, lifetime, audit identity and revocation surface, and neither value is ever re-retrievable:
- CLI session (default): a replayable bearer credential returned in the response body, presented on Authorization: Bearer.
- Browser session: delivered ONLY on the __Host-hikyo HttpOnly cookie, never in the body, so injected same-origin script cannot read it. Its synchronizer token rides the __Host-hikyo-csrf companion cookie and must be echoed on the X-Hikyo-CSRF header for every state-changing cookie-authenticated request.
See /api/v1/meta for which protocol flows an instance actually offers.
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/auth/local/login
- Auth: none required
Request body
Response
Session minted. The token is displayed once and never again.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status
- warning