mats 2f3ea99745 feat(auth): minted keys + device login for the admin API and MCP endpoints
platform/auth gains the LocalJWT (HS256 mint/verify, AUTH_TOKEN_SECRET,
disabled when unset), the RFC 8628 DeviceFlow (start/approve/poll with
requested-scope gating) and KeyStore.ReloadIfChanged (mtime-based, so a
freshly minted key works across processes without a restart). One shared
store at /commerce/apikeys.json (AUTH_APIKEYS_FILE) now backs the
backoffice admin gate, the CMS API and every MCP endpoint; AUTH_TOKEN_SECRET
lets the companion app's device flow mint bearer tokens the same surfaces
accept. Submodule bumps: backoffice (AuthGate + device endpoints + mcp
scope), go-cart-actor (mcpauth sources), go-graph-cms-v2 (shared store +
token chain).

Also lands the still-pending receipt-ocr sidecar (previous pass): the
PP-OCR ONNX inference service + download-ocr-models.sh + k8s
deployment/initContainer, wired into compose and the ledger RECEIPT_OCR_URL,
with the extractor pairing fix riding the go-cart-actor bump.

Deploy: AUTH_APIKEYS_FILE/AUTH_TOKEN_SECRET/AUTH_DEVICE_BASE_URL on
backoffice + cart/profile/order/ledger in compose and k8s, /device ingress
route, stack-secrets AUTH_TOKEN_SECRET optional ref, docs updated.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-16 12:48:03 +02:00
2026-07-26 21:53:08 +02:00
2026-07-26 21:53:08 +02:00
2026-07-18 23:28:51 +02:00
2026-07-26 13:01:07 +02:00
2026-07-26 13:01:07 +02:00
2026-07-20 00:15:42 +02:00
2026-07-18 23:28:51 +02:00
2026-07-18 23:28:51 +02:00
2026-07-25 18:13:22 +02:00
2026-06-28 17:52:49 +02:00
2026-07-03 19:30:32 +02:00
2026-06-29 13:17:43 +02:00
2026-07-26 13:01:07 +02:00
2026-07-26 13:01:07 +02:00
2026-06-28 17:52:49 +02:00
2026-06-29 12:35:32 +02:00
2026-06-28 17:52:49 +02:00
2026-06-28 17:52:49 +02:00
2026-07-03 18:14:28 +02:00
2026-06-27 21:48:09 +02:00
2026-06-28 17:52:49 +02:00
2026-07-26 21:53:08 +02:00
2026-07-26 21:53:08 +02:00
S
Description
No description provided
4.5 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 99%
Dockerfile 0.5%
Shell 0.4%
Makefile 0.1%