The storefront signs in as hanzo-computer
Hanzo CI/CD / cicd (push) Successful in 6m25s
CI/CD / cicd (push) Successful in 3h20m51s

A client id is <org>-<app>, and hanzo.id answers 400 for app-computer, so
/signin, /account and /dashboard could not reach the authorize endpoint.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
zooqueen
2026-09-15 16:46:21 -07:00
co-authored by Hanzo Dev
parent 61b23c1cc9
commit 4fea2c56a4
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Hanzo IAM (hanzo.id) Configuration
VITE_IAM_URL=https://hanzo.id
VITE_IAM_CLIENT_ID=app-computer
VITE_IAM_CLIENT_ID=hanzo-computer
# Commerce API (billing.hanzo.ai)
VITE_COMMERCE_API_URL=https://billing.hanzo.ai
+3 -1
View File
@@ -6,7 +6,9 @@
// ---------------------------------------------------------------------------
const IAM_URL = (import.meta.env.VITE_IAM_URL as string) || 'https://hanzo.id'
const CLIENT_ID = (import.meta.env.VITE_IAM_CLIENT_ID as string) || 'app-computer'
// A client id is always <org>-<app>, which is the name IAM registers and the
// only one hanzo.id answers for this host.
const CLIENT_ID = (import.meta.env.VITE_IAM_CLIENT_ID as string) || 'hanzo-computer'
const REDIRECT_URI = `${window.location.origin}/auth/callback`
// Canonical Hanzo IAM OAuth surface lives under /v1/iam/* — the bare /oauth/*