tailscale/client
Will Norris 0c3d343ea3 client/web: invert auth logic for synology and qnap
Add separate server methods for synology and qnap, and enforce
authentication and authorization checks before calling into the actual
serving handlers. This allows us to remove all of the auth logic from
those handlers, since all requests will already be authenticated by that
point.

Also simplify the Synology token redirect handler by using fetch.

Remove the SynologyUser from nodeData, since it was never used in the
frontend anyway.

Updates tailscale/corp#13775

Signed-off-by: Will Norris <will@tailscale.com>
2023-08-24 14:17:41 -07:00
..
tailscale cmd/tailscale/cli, ipn/ipnlocal: [funnel] add stream mode 2023-08-22 10:07:34 -04:00
web client/web: invert auth logic for synology and qnap 2023-08-24 14:17:41 -07:00