Keez SPA Bearer · paste & sync

Until Stelian enables AccountsPayable on REST (asked 2026-06-06 · Resend 3c23ae96), AP+AR sync requires a SPA user-session Bearer (~1h TTL). Paste a fresh Bearer below; cron picks it up every 30 min and auto-syncs all 13 CLA entities. Stored in hub_tool_data.cla_keez_spa_bearer · NEVER committed to git.

1. Capture from app.keez.ro (30 sec)

  1. Open app.keez.ro (login if needed)
  2. Cmd+Option+I (Mac) or F12 (Win) → Network tab
  3. Click anything in the Keez UI (e.g. Dashboard) to trigger a request
  4. Find a graphql row → click it → Headers tab
  5. Scroll to Request Headers → copy the Authorization: Bearer eyJ... value (just the part after "Bearer ")
  6. Paste below + click Save & sync now

2. Current state

Loading...

3. Paste new Bearer

Paste the raw JWT (starts with eyJ...) OR the entire curl from F12 → "Copy as cURL" · we'll extract the Bearer automatically.

4. Cron auto-sync

Cron triggers /api/keez-ap-mine?apply=true + /api/keez-ar-mine?apply=true every 30 min (Mon-Fri 06:00-20:00 EEST · weekdays only). Each tick: reads Bearer from hub_tool_data.cla_keez_spa_bearer · if expired, logs warning + skips · waits for next paste. Bearer TTL window: paste once per session (1h) covers ~2 ticks. Paste twice/day if you want continuous freshness.