Files
Kabir Sikand 9360d794fa cmd/funnelauthdemo, ipn/ipnlocal: warm WireGuard path; add callback e2e test
Two demo-reliability fixes for the local Authenticated Funnel harness:

- funnelauthdemo: a peer appearing in the netmap does not mean WireGuard is
  reachable, so dialing the target PeerAPI cold raced magicsock path setup and
  timed out ('operation timed out'). Warm the path with disco pings until one
  succeeds before splicing, and carry the target's Tailscale IP out of the
  netmap lookup for that ping.

- funnelauth_test: add TestFunnelCallbackExchangeEndToEnd, which drives the
  node-side OIDC callback (token exchange + JWKS fetch + id_token verify +
  session-cookie mint + admit) fully in process against a stub IdP. This is the
  transport-free backup for the containerized demo: it proves the login loop
  without WireGuard/DERP/DNS/cert.

Updates tailscale/corp#38806

Change-Id: I490da38d7202f79449327f6337d344d1bdebad01
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-28 02:03:18 +00:00
..