Files
zeekayandHanzo Dev 47023d1668 feat(relay): verify Hanzo IAM access tokens against the issuer JWKS
The relay accepted Clerk session JWTs and Clerk OAuth tokens. It now verifies
Hanzo IAM access tokens (iss, aud, exp, signature via OIDC discovery and jose)
and needs no IAM secret. The Hanzo Chat link takes the email from the token
claim. Clients name the token iamToken; @clerk/* is gone from the catalog.

Co-authored-by: Hanzo Dev <[email protected]>
2026-11-20 23:09:41 -08:00

44 lines
1.4 KiB
JSON

{
"name": "hanzodev-relay",
"private": true,
"type": "module",
"scripts": {
"deploy": "alchemy deploy",
"push:android:smoke": "node scripts/android-push-smoke.ts",
"push:android:watch": "node scripts/android-push-watch.ts",
"tunnels:census": "node scripts/tunnel-census.ts",
"destroy": "alchemy destroy",
"test": "vp test run --config ../../vite.config.ts --dir .",
"typecheck": "effect-tsgo tsrs --noEmit"
},
"dependencies": {
"@alchemy.run/axiom": "catalog:",
"@alchemy.run/cloudflare": "catalog:",
"@alchemy.run/drizzle": "catalog:",
"@alchemy.run/planetscale": "catalog:",
"@distilled.cloud/cloudflare": "catalog:",
"@effect/sql-pg": "catalog:",
"@effect/sql-sqlite-do": "catalog:",
"@hanzodev/client-runtime": "workspace:*",
"@hanzodev/contracts": "workspace:*",
"@hanzodev/shared": "workspace:*",
"@noble/curves": "catalog:",
"@noble/hashes": "catalog:",
"alchemy": "catalog:",
"drizzle-orm": "1.0.0-rc.5",
"effect": "catalog:",
"jose": "catalog:"
},
"devDependencies": {
"@alchemy.run/test": "catalog:",
"@cloudflare/workers-types": "^4.20260601.1",
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@electric-sql/pglite": "0.3.15",
"@types/node": "catalog:",
"drizzle-kit": "1.0.0-rc.5",
"vite": "catalog:",
"vite-plus": "catalog:"
}
}