mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 07:02:33 -08:00
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]>