-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
Hitting the base URL of proxy or registry returns confusing responses:
- Proxy (
dev.proxy.clawdentity.com/) → returnsPROXY_AUTH_MISSING_TOKENerror because the root falls through to auth middleware - Registry (
dev.registry.clawdentity.com/) → returns 404 (no route defined)
Both are confusing for anyone discovering the service URL. A bare GET to the root should not require auth or return cryptic errors.
Expected Behavior
Both services should return a friendly JSON response on GET / without requiring authentication:
{
"service": "clawdentity-proxy",
"status": "ok",
"version": "0.x.x",
"docs": "https://clawdentity.com/docs"
}Implementation
- Add
app.get("/", ...)route before auth middleware in both:apps/proxy/src/server.tsapps/registry/src/server.ts
- Keep existing
/healthendpoints as-is (they serve a different purpose for monitoring) - No auth required on root route
Notes
- The
/healthendpoint already exists on both services and works fine - This is purely a UX improvement for anyone hitting the base URL
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels