You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c37cfb0
Browse filesBrowse the repository at this point in the historyBrowse files
objective: Prove the real Gateway enforces explicit token, password, and none authentication modes across WebSocket, HTTP, and startup boundaries.
11
+
successCriteria:
12
+
- WebSocket clients connect with the configured token or password and reject invalid or cross-mode credentials.
13
+
- The real models HTTP endpoint accepts the configured shared secret and returns 401 for an invalid secret in token and password modes.
14
+
- Missing active credentials and unauthenticated non-loopback exposure fail before the Gateway listens with actionable configuration guidance.
15
+
- Explicit none mode remains available on loopback, and existing private-ingress auth behavior remains covered without claiming adjacent Tailscale or browser trust taxonomy.
16
+
docsRefs:
17
+
- docs/gateway/authentication.md
18
+
- docs/gateway/security/index.md
19
+
codeRefs:
20
+
- src/gateway/auth.ts
21
+
- src/gateway/server-runtime-config.ts
22
+
- src/gateway/server.auth.modes.suite.ts
23
+
execution:
24
+
kind: vitest
25
+
path: src/gateway/server.auth.modes.test.ts
26
+
summary: Run the real Gateway auth-mode matrix across WebSocket, HTTP, loopback, private ingress, and startup validation.
0 commit comments