feat(provision): service token on product lifecycle calls; stage/prod provision URLs #26

Merged
sharang merged 1 commits from feat/provision-service-token into main 2026-09-12 09:27:41 +00:00
Owner

Closes the provisioning loop of PRODUCT_INTEGRATION_SPEC 2.0 §4.1: on activation / trial / ERP order the registry calls the product's POST /api/v1/platform/tenants/{id}/provision with its own client_credentials token (tenant-registry-svc-<env>, which carries the pruefwerk and firmwerk audiences; the products check aud + azp). Migration 0005 seeds the stage/prod provision URLs for Prüfwerk and Firmwerk (the Prüfwerk route lands with orca-platform#13). Failures stay best-effort + audited.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB

Closes the provisioning loop of PRODUCT_INTEGRATION_SPEC 2.0 §4.1: on activation / trial / ERP order the registry calls the product's `POST /api/v1/platform/tenants/{id}/provision` with its **own client_credentials token** (`tenant-registry-svc-<env>`, which carries the `pruefwerk` and `firmwerk` audiences; the products check `aud` + `azp`). Migration 0005 seeds the stage/prod provision URLs for Prüfwerk and Firmwerk (the Prüfwerk route lands with orca-platform#13). Failures stay best-effort + audited. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang added 1 commit 2026-09-12 09:04:54 +00:00
feat(provision): service token on product lifecycle calls; stage/prod provision URLs
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 22m26s
ci / image (pull_request) Skipped
5f849c54c6
The registry now authenticates POST …/provision with its own
client_credentials token (tenant-registry-svc-<env>; products check aud +
azp). Migration 0005 seeds the Prüfwerk and Firmwerk provision URLs per
environment; the memory catalog (dev) keeps none.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang merged commit 8388e47742 into main 2026-09-12 09:27:41 +00:00
sharang deleted branch feat/provision-service-token 2026-09-12 09:27:41 +00:00
Sign in to join this conversation.