Files
pos-system/services
Ho Ngoc Hai b2a5bde40a
Some checks failed
Build & Deploy to K8s / build-and-deploy (push) Failing after 12m20s
fix(auth): allow HTTP OIDC discovery for K8s internal authority
Services in K8s use `Jwt__Authority=http://iam-service:8080` (internal)
but RequireHttpsMetadata was hardcoded to `!IsDevelopment()` which
crashes in Staging with "The MetadataAddress or Authority must use HTTPS".

Fix: Read RequireHttpsMetadata from config + auto-detect HTTP authority.
Affected: merchant-service, ads-billing, ads-serving, ads-tracking.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 00:24:48 +07:00
..