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/client/web/src
Patrick O'Doherty a05924a9e5
client/web: add Sec-Fetch-Site CSRF protection (#16046)
RELNOTE=Fix CSRF errors in the client Web UI

Replace gorilla/csrf with a Sec-Fetch-Site based CSRF protection
middleware that falls back to comparing the Host & Origin headers if no
SFS value is passed by the client.

Add an -origin override to the web CLI that allows callers to specify
the origin at which the web UI will be available if it is hosted behind
a reverse proxy or within another application via CGI.

Updates #14872
Updates #15065

Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
7 months ago
..
assets client/web: add copyable components throughout UI 2 years ago
components client/web: remove advanced options from web client login (#14770) 10 months ago
hooks client/web: use grants on web UI frontend 2 years ago
ui client/web: update vite-plugin-svgr to latest version (#11197) 2 years ago
utils client/web: use grants on web UI frontend 2 years ago
api.ts client/web: add Sec-Fetch-Site CSRF protection (#16046) 7 months ago
index.css client/web: small UI cleanups 2 years ago
index.tsx client/web: start using swr for some fetching 2 years ago
types.ts client/web: add visual indication for exit node pending approval (#10532) 2 years ago