Files
zeekay 5cab2f1f5a The console signs in on hanzo.ai, carrying hanzo-kms's own request
Signed out, the console no longer draws "Sign in with hanzo.id". It has
the SDK mint hanzo-kms's PKCE request (its callback, an S256 challenge,
no nonce) and replaces the page with hanzo.ai/login plus that query.
hanzo.ai finishes it and the callback lands on the page that was asked
for.

Discovery is read from api.hanzo.ai and the token, revoke and logout
calls stay on this origin's /v1/iam, so nothing calls hanzo.id. Sign-out
ends the session here with the SDK's end(), which @hanzo/iam 0.21.31
has. The Status page stops printing the issuer.
2026-10-16 18:37:41 -07:00

37 lines
1.0 KiB
JSON

{
"name": "@hanzo/kms-frontend",
"private": true,
"version": "3.0.0",
"description": "Hanzo KMS console: a static app that signs in with Hanzo IAM and manages an organization's secrets over /v1/kms.",
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "node --test --test-reporter=tap --experimental-strip-types src/lib/kms.test.ts"
},
"dependencies": {
"@hanzo/iam": "^0.21.31",
"@tanstack/react-query": "^5.62.7",
"clsx": "^2.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"wouter": "^3.5.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.14",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4",
"postcss": "^8.4.49",
"tailwindcss": "^4.1.14",
"typescript": "7.0.2",
"vite": "^6.0.0"
},
"license": "MIT",
"author": "Hanzo AI <[email protected]>",
"homepage": "https://kms.hanzo.ai"
}