How openziti/ziti-browzer-bootstrapper works
Main Components
a. Core Components:
• OIDC Provider (External Authentication Service)
• OpenZiti Controller
• Ziti BrowZer Bootstrapper Server
• Client Web Browser
• Protected Web Services
b. Supporting Components:
• Certificate Management System
• Environment Configuration
• HTTP Proxy System
Client Layer
Security Layer
Bootstrapper Core
Network Layer
Component Relationships
a. Client Flow:
• Browser → OIDC Provider (Authentication)
• Browser → Bootstrapper (Initial Connection)
• Browser → Protected Services (Post-Bootstrap)
b. Security Flow:
• Bootstrapper ↔ Certificate Management
• Bootstrapper ↔ OIDC Provider
• Bootstrapper ↔ OpenZiti Controller
Technical Details
a. Core Services (from lib/ directory):
• Edge Service (lib/edge/)
• HTTP Proxy (lib/http-proxy/)
• OIDC Integration (lib/oidc/)
b. Configuration Elements:
• Environment Variables
• Target Configuration
• SSL/TLS Certificate Paths
Specific Implementation Details
a. HTTP Proxy System:
• Custom proxy passes (from lib/http-proxy/passes/)
• CORS handling
• Ziti-specific request/response handling
b. Edge Communication:
• Context management
• Fetch polyfill implementation
• Options handling
Key Flows to Illustrate
a. Bootstrap Process:
Browser → Bootstrapper
• → OIDC Authentication
• → JWT Token Validation
• → Service Access Grant
b. Service Access:
Browser → Protected Service
• → Ziti Network
• → Target Service
Additional Elements
• Version/environment indicators
• Configuration dependencies
• Security boundaries
Integration Points
Clearly mark:
• OIDC Provider integration
• OpenZiti Controller communication
• Protected service connections
• Certificate management points
Remember to include notes about scaling considerations and security boundaries, as these are crucial for a zero-trust implementation.