Files
tailscale/ipn
Kabir Sikand 148a187d3c ipn: add FunnelAuth config to HTTPHandler for authenticated funnel
Add an optional Auth field to HTTPHandler so a Funnel HTTP handler can
require visitors to authenticate with Login With Tailscale before being
proxied. FunnelAuth carries the identity provider (v1: "tailscale"), an
optional allowlist of emails/email-domains/tailnets, and a session TTL.

The field is JSON omitempty, so existing serve configs are unchanged on
the wire and old nodes simply ignore it. This change is inert: nothing
reads the field yet. The gate itself lands separately in ipn/ipnlocal.

Updates tailscale/corp#38806

Change-Id: I83f47b65e4c625e3034bc41a62c747194efdff59
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-27 18:09:18 +00:00
..