Centrally Audited Auth & Cryptographic Context Proxy
In high-compliance enterprise environments, authentication must be absolute, auditable, and decoupled from raw downstream logic. The Governance Gateway acts as the central traffic cop: intercepting external user requests, authenticating them either corporate single sign-on (OIDC) or decentralized signatures (Web3 SIWE), resolving hierarchical entitlements, and packing them into an cryptographically signed downstream JWT context (X-Governance-Context) verified at downstream service boundaries. Play with the sandbox below to see the gateway in action.
1. Authentication Origin
Select the inbound identity provider representing the user's login method.
2. Governance Engine
The central gateway validates incoming signatures, retrieves tenant rules, and assembles the context.
3. Secure Dispatch
Downstream microservices (e.g. CMS, Storefront) receive this signed context header.
Technical Architecture
The Centralized Trust Gateway implements a fail-closed, zero-cold-start architecture that operates centrally at our governance boundary, serving as the secure traffic cop for downstream components (such as cms and api_router).
Instead of forcing every downstream service to individually implement complex federated identity rules, handle OIDC handshakes, or query databases for tenant settings, the central gateway abstracts everything into a standardized, lightning-fast cryptographic assertion pipeline.
Core Capabilities & Flows
- Unified Identity Boundary: Converts both corporate identity assertions (OIDC JSON Web Tokens containing email/groups) and Web3 identities (cryptographic proofs Ethereum signatures) into a uniform secure principal format.
- No Downstream DB Requests: Entitlements (
_tenant_features) and user roles are compiled centrally in<5msand appended to the JWT payload. Downstream services read these values directly from the signed context, eliminating roundtrip DB calls. - Fail-Closed Security: Decoupled services apply localized attribute-based access control (ABAC) filters using the Gateway's public key. If the JWT signature is invalid or missing, or if a required tenant feature claim is absent, the downstream service immediately rejects the request.
Implementation Guide
To integrate or audit this centralized architecture, understand the technical flows and programmatic details detailed below.
How a Downstream Service Verifies the Context
Downstream services use the Gateway's public RSA key to verify the X-Governance-Context header in every inbound HTTP call: