mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-09-30 20:46:32 +00:00
iam: drop /api/ path prefix, use /v1/iam/
Hanzo standard (hanzoai/openapi): every route is /v1/<service>/<resource>. The /api/ dialect is dead on the deployed IAM (iam v1.33.24 serves 154 paths, all under /v1/iam). Prefix only; route spelling unchanged. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1174,7 +1174,7 @@ HANZO_COMMERCE_WEBHOOK_SECRET=...
|
||||
- **Type**: `oauth` (NOT `oidc` — Casdoor JWT tokens have iss claims that openid-client rejects)
|
||||
- **Key settings**: `idToken: false`, `checks: ["state"]`, custom `token.request` function
|
||||
- **Token endpoint**: `${serverUrl}/oauth/token`
|
||||
- **Userinfo endpoint**: `${serverUrl}/api/userinfo`
|
||||
- **Userinfo endpoint**: `${serverUrl}/v1/iam/userinfo`
|
||||
- **Console env**: `IAM_SERVER_URL=https://hanzo.id`, `IAM_CLIENT_ID=hanzo-console-client-id`
|
||||
|
||||
### Casdoor Applications (in iam-init-data configmap)
|
||||
|
||||
@@ -132,7 +132,7 @@ export default function MonitoringPage() {
|
||||
const infraServices = [
|
||||
{ name: "PostgreSQL", endpoint: `${apiBase}/health` },
|
||||
{ name: "Redis Cache", endpoint: `${apiBase}/health` },
|
||||
{ name: "IAM (hanzo.id)", endpoint: "https://iam.hanzo.ai/api/health" },
|
||||
{ name: "IAM (hanzo.id)", endpoint: "https://iam.hanzo.ai/v1/iam/health" },
|
||||
]
|
||||
|
||||
for (const svc of infraServices) {
|
||||
|
||||
Reference in New Issue
Block a user