mirror of
https://github.com/hanzoai/id.git
synced 2026-10-26 11:01:03 +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]>