mirror of
https://github.com/hanzoai/computer.git
synced 2026-09-30 20:55:46 +00:00
The storefront signs in as hanzo-computer
Hanzo CI/CD / cicd (push) Successful in 6m25s
CI/CD / cicd (push) Successful in 3h20m51s
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:
+1
-1
@@ -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
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user