openova/core/services
e3mrah f9ed292198
fix(billing): /redeem-preview + plans + addons bypass JWT (D29) (#1561)
* chore(slot-13): pin bp-catalyst-platform to 1.4.145 (D29 gateway public routes)

PR #1559 added /api/billing/{vouchers/redeem-preview,plans,addons} as
public gateway routes — required for the marketplace /redeem zero-touch
flow. Pin the slot so future provisions inherit it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(billing): /redeem-preview + plans + addons bypass JWT (D29)

Mirror PR #1559's gateway public routes in the billing service's own
middleware chain. The gateway now lets these requests through without
an Authorization header (D29 voucher-redeem landing), but billing
service's main.go was JWT-gating EVERY /billing/* path except
/billing/webhook — so the request still got 401, just one hop later.

Caught live on t132 2026-05-16 after PR #1559 rolled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: hatiyildiz <hatice.yildiz@openova.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 23:28:48 +04:00
..
auth fix(sme-marketplace): unblock PIN signin — route /api/* to sme/gateway + add send-pin alias (#868) (#869) 2026-05-05 08:22:17 +04:00
billing fix(billing): /redeem-preview + plans + addons bypass JWT (D29) (#1561) 2026-05-16 23:28:48 +04:00
catalog fix(provisioning,catalog): parent-kustomization prefix collision + disable openclaw/stalwart-mail (#1043) 2026-05-06 10:21:39 +04:00
catalyst-catalog feat(catalog): catalog-svc HTTP REST service + chart wiring (slice L1+L2, #1097) (#1148) 2026-05-09 04:04:52 +04:00
domain fix(services): go mod tidy across sibling services after #798 shared deps bump (#821) 2026-05-04 22:35:46 +04:00
gateway fix(gateway): /redeem-preview + plans + addons must be public (D29) (#1559) 2026-05-16 23:17:04 +04:00
metering-sidecar feat(metering): NewAPI NATS publisher + sme-billing subscriber + POST /metering/record (#798) (#818) 2026-05-04 22:32:42 +04:00
notification feat(billing+notification): wire voucher-issued email (D28) (#1556) 2026-05-16 23:04:46 +04:00
provisioning fix(provisioning,catalog): parent-kustomization prefix collision + disable openclaw/stalwart-mail (#1043) 2026-05-06 10:21:39 +04:00
shared fix(bp-catalyst-platform): wire VALKEY_PASSWORD into SME auth + gateway (#863) (#864) 2026-05-05 06:09:38 +04:00
tenant fix(tenant): JWT-bypass /tenant/internal/* — paid checkouts never provisioned (#1018) (#1019) 2026-05-06 02:09:55 +04:00