You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Sonia Appasamy 68da15516f ipn/localapi,client/web: clean up auth error handling
This commit makes two changes to the web client auth flow error
handling:

1. Properly passes back the error code from the noise request from
   the localapi. Previously we were using io.Copy, which was always
   setting a 200 response status code.
2. Clean up web client browser sessions on any /wait endpoint error.
   This avoids the user getting in a stuck state if something goes
   wrong with their auth path.

Updates tailscale/corp#14335

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
7 months ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 8 months ago
ipnauth all: update copyright and license headers 1 year ago
ipnlocal ipn/ipnlocal: close connections for removed proxy transports (#9884) 7 months ago
ipnserver logpolicy, various: allow overriding log function 11 months ago
ipnstate client/web: restrict full management client behind browser sessions 8 months ago
localapi ipn/localapi,client/web: clean up auth error handling 7 months ago
policy ipn: prefer allow/denylist terminology 1 year ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 9 months ago
backend.go cmd/tailscale,ipn/ipnlocal: print debug component names 8 months ago
conf.go ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 8 months ago
doc.go all: update copyright and license headers 1 year ago
fake_test.go all: update copyright and license headers 1 year ago
ipn_clone.go ipn: add PostureChecks to Prefs 8 months ago
ipn_test.go net/packet: split off checksum munging into different pkg 8 months ago
ipn_view.go ipn: add PostureChecks to Prefs 8 months ago
prefs.go ipn: add PostureChecks to Prefs 8 months ago
prefs_test.go ipn: add PostureChecks to Prefs 8 months ago
serve.go ipn: use NodeCapMap in CheckFunnel 8 months ago
serve_test.go ipn: use NodeCapMap in CheckFunnel 8 months ago
store.go ipn: avoid useless no-op WriteState calls 10 months ago
store_test.go ipn: avoid useless no-op WriteState calls 10 months ago