user-engine/workplans
tegwick 4622b64061 Authenticate flex-auth calls with a rotating caller token
Closes the caller side of FLEX-WP-0015. FlexAuthHTTPAdapter reads the
audience-scoped projected ServiceAccount token from a file on every decision,
so hourly rotation needs no restart, and runtime configuration now requires
USER_ENGINE_FLEX_AUTH_TOKEN_FILE.

A missing, empty, or unreadable token file fails closed as a denial without
reaching flex-auth: OSError joins the caught set and an empty read raises.
Coverage proves all three unusable-token cases deny before any request is
made, and that neither the deny reason nor the decision repr carries the
token value.

Tenant-authority reads now identify user-engine as actor `user-engine` under
the protected tenant.read action, keeping tenant ids opaque and URL-encoded.

Contract: docs/flex-auth-caller-identity.md. Full suite: 148 tests, 3
provider-gated skips.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 10:53:31 +02:00
..
USER-WP-0001-preparation-and-interface-adoption.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0002-isolated-mvp.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0003-multi-tenancy.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0004-multi-application-catalogs.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0005-integrated-test-scenarios.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0006-finalization-polish.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0007-identity-domain-canon-alignment.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0008-family-dataspace-onboarding.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0009-postgres-durable-store-requirements.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0010-registration-identity-and-factor-model.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0011-prepared-accounts-and-entitlement-claims.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0012-hats-realms-services-assets-access-profiles.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0013-onboarding-journeys-and-welcome-protocols.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0014-registration-and-access-management-ui.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0015-registration-scenario-and-security-conformance.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0016-durable-store-migration-and-conformance-harness.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0017-durable-store-record-serialization.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0018-postgres-store-adapter.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0019-provider-backed-postgres-conformance.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
USER-WP-0020-self-service-and-user-administration-portal.md Close portal MVP and preserve expansion backlog 2026-07-30 00:52:50 +02:00
USER-WP-0021-portal-product-expansion.md Delegate tenant lifecycle to the tenant authority 2026-08-16 01:28:02 +02:00
USER-WP-0022-public-registration-and-jit-application-profiles.md Delegate tenant lifecycle to the tenant authority 2026-08-16 01:28:02 +02:00
USER-WP-0023-flex-auth-caller-identity.md Authenticate flex-auth calls with a rotating caller token 2026-08-18 10:53:31 +02:00