Files
id-worker/wrangler.toml
zeekay 5ca85b606d feat: multi-org IAM login worker with org-specific branding
Single CF Worker serves all IAM login pages across 6 routes
(hanzo.id, lux.id, pars.id, iam.lux.network, id.lux.network,
id.zoo.network) with per-org accent colors, inline SVG logos,
taglines, and feature lists. Dark theme throughout. Two-pane
layout with brand pane + auth pane supporting portal, login,
signup, forgot password, social auth (Google/GitHub), and
web3 wallet connect flows.
2026-02-19 19:22:44 -08:00

21 lines
784 B
TOML

name = "hanzo-id"
main = "src/worker.js"
compatibility_date = "2024-01-01"
# All IAM login domains route through this single worker.
# The worker resolves org-specific branding from the request hostname.
# DNS must be proxied through Cloudflare (orange cloud) for each domain.
routes = [
{ pattern = "hanzo.id/*", zone_name = "hanzo.id" },
{ pattern = "lux.id/*", zone_name = "lux.id" },
{ pattern = "pars.id/*", zone_name = "pars.id" },
{ pattern = "iam.lux.network/*", zone_name = "lux.network" },
{ pattern = "id.lux.network/*", zone_name = "lux.network" },
{ pattern = "id.zoo.network/*", zone_name = "zoo.network" },
]
[vars]
IAM_ORIGIN = "https://iam.hanzo.ai"
# Proxy to the Pages deployment for the marketing site
MARKETING_ORIGIN = "https://hanzo-id.pages.dev"