mirror of
https://github.com/hanzoai/id.git
synced 2026-10-26 20:59:52 +00:00
The portal serves account.hanzo.id / account.lux.id — branded account-management pages, IAM access tokens over the OAuth code exchange, redirecting to each brand's login. That is identity UI: same brands, same IAM, same login redirect as apps/web. It had no business being its own repo. It also had a worse problem. It lived in hanzoai/account, which is ALSO the Go module github.com/hanzoai/account — the package that owns the billing-account rule (Account, Payer, Subject) that cloud and commerce both import. One repo, two unrelated codebases, one name: `main` was this Worker, and the Go module survived only on a `go` branch plus its tags. A Go module whose default branch has no go.mod cannot resolve for anything but an explicit tag, which is why it was private-and-pinned rather than importable. Moving the Worker here frees that repo to be the Go module and nothing else. Co-authored-by: Hanzo Dev <[email protected]>
770 B
770 B
@hanzo/id-account
The account portal: branded account-management pages at account.hanzo.id,
account.lux.id, … served by a Cloudflare Worker, authenticated with IAM access
tokens over the OAuth code exchange.
It lives HERE, in hanzoai/id, because it is identity UI — the same brands, the
same IAM, the same login redirect as apps/web. It used to live in
hanzoai/account, which is a Go module: one repo held two unrelated codebases
under one name (main was this Worker, the Go module survived only on a go
branch and its tags). That collision is what made
github.com/hanzoai/account unresolvable as a Go module from a clean checkout.
hanzoai/account is now the Go module and nothing else — see its README for the
billing-account rule it owns.