Files
openclaw/src
Nick Taylor d23d26e0b5 feat(ui): hide token/password fields when gateway is in trusted-proxy mode
- Add authMode to gateway snapshot schema (protocol)
- Resolve and expose auth mode in buildGatewaySnapshot()
- Update Control UI overview to conditionally render based on authMode
- When authMode is 'trusted-proxy':
  - Hide Gateway Token field
  - Hide Password field
  - Show informational callout explaining trusted-proxy auth
  - Display auth mode and clarify no token needed
- When authMode is 'token', 'password', or 'none':
  - Show token and password fields as before (unchanged UX)

Benefits:
- Clearer UX: users won't be confused trying to enter tokens
- Security clarity: makes it obvious proxy handles auth
- Better feedback: explains what trusted-proxy mode means

UI shows:
'This gateway is configured for trusted-proxy auth mode.
User identity is managed by your reverse proxy (Pomerium, Caddy, Traefik, etc.).
Auth Mode: trusted-proxy
No gateway token required — authentication handled by proxy'
2026-02-14 12:26:01 +01:00
..
2026-01-30 03:16:21 +01:00
2026-02-04 10:37:14 -05:00
2026-01-14 15:02:19 +00:00
2026-02-09 18:56:58 -08:00